mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
[TwitterBridge] Increase guest token expiry time (#2374)
This commit is contained in:
parent
e1290aa42c
commit
35930ee4e4
@ -4,7 +4,7 @@ class TwitterBridge extends BridgeAbstract {
|
|||||||
const URI = 'https://twitter.com/';
|
const URI = 'https://twitter.com/';
|
||||||
const API_URI = 'https://api.twitter.com';
|
const API_URI = 'https://api.twitter.com';
|
||||||
const GUEST_TOKEN_USES = 100;
|
const GUEST_TOKEN_USES = 100;
|
||||||
const GUEST_TOKEN_EXPIRY = 300; // 5min
|
const GUEST_TOKEN_EXPIRY = 10800; // 3hrs
|
||||||
const CACHE_TIMEOUT = 300; // 5min
|
const CACHE_TIMEOUT = 300; // 5min
|
||||||
const DESCRIPTION = 'returns tweets';
|
const DESCRIPTION = 'returns tweets';
|
||||||
const MAINTAINER = 'pmaziere';
|
const MAINTAINER = 'pmaziere';
|
||||||
|
Loading…
Reference in New Issue
Block a user