diff options
author | emkael <emkael@tlen.pl> | 2021-04-02 03:06:35 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2021-04-02 03:06:35 +0200 |
commit | 2bb2ae4c54beba67e7c63a02c7509182379589d9 (patch) | |
tree | 0917a78b5b4b92e2238fba169a0d99c462bf7196 | |
parent | e7d5ded92ddd2ceb27453593ab3ae0e2473cf6ea (diff) |
Changes to FB cache refresh schedule
-rwxr-xr-x | bin/refresh-fb-cache.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/refresh-fb-cache.php b/bin/refresh-fb-cache.php index 8c384a6..4b702ef 100755 --- a/bin/refresh-fb-cache.php +++ b/bin/refresh-fb-cache.php @@ -25,10 +25,10 @@ foreach ($cacheFiles as $file) { } } -$filesToFetch = ['Piwoteka', $fileToFetch]; +$filesToFetch = ['Piwoteka', 'fermentlodz', '103731068463865', $fileToFetch]; foreach ($filesToFetch as $feed) { - sleep(rand(35, 70)); + sleep(rand(60, 90)); $provider = new \Providers\Facebook($feed, ['force' => TRUE]); if (!$provider->get()) { throw new \Exception(sprintf('Feed %s failed to fetch!', $feed)); |