1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-29 21:00:14 +02:00

[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

View File

@@ -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';