[TwitterBridge] Increase guest token expiry time (#2374)

This commit is contained in:
triatic 2021-12-18 09:54:18 +00:00 committed by GitHub
parent e1290aa42c
commit 35930ee4e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ class TwitterBridge extends BridgeAbstract {
const URI = 'https://twitter.com/';
const API_URI = 'https://api.twitter.com';
const GUEST_TOKEN_USES = 100;
const GUEST_TOKEN_EXPIRY = 300; // 5min
const GUEST_TOKEN_EXPIRY = 10800; // 3hrs
const CACHE_TIMEOUT = 300; // 5min
const DESCRIPTION = 'returns tweets';
const MAINTAINER = 'pmaziere';