     poller_update_poller_cache_from_buffer($local_data_ids, $poller_items, $poller_id);     $local_data_ids = array();     $poller_items   = array();    }   }    if ($i > 0) {    poller_update_poller_cache_from_buffer($local_data_ids, $poller_items, $poller_id);   }  }   