[FacebookBridge] Increase cache timeout (#2149)

Facebook aggressively throttles queries now
This commit is contained in:
triatic 2021-06-12 19:15:56 +01:00 committed by GitHub
parent 75cc52a62c
commit 9c99a1a9c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ class FacebookBridge extends BridgeAbstract {
const MAINTAINER = 'teromene, logmanoriginal'; const MAINTAINER = 'teromene, logmanoriginal';
const NAME = 'Facebook Bridge | Main Site'; const NAME = 'Facebook Bridge | Main Site';
const URI = 'https://www.facebook.com/'; const URI = 'https://www.facebook.com/';
const CACHE_TIMEOUT = 300; // 5min const CACHE_TIMEOUT = 1800; // 30min
const DESCRIPTION = 'Input a page title or a profile log. For a profile log, const DESCRIPTION = 'Input a page title or a profile log. For a profile log,
please insert the parameter as follow : myExamplePage/132621766841117'; please insert the parameter as follow : myExamplePage/132621766841117';