Increase vod data cache lifetime to 10 mins

This commit is contained in:
Laszlo Zeke 2017-07-26 00:59:52 +02:00
parent 53da7045d9
commit 8944c521f7
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ VODCACHE_PREFIX = 'vodcache'
USERIDCACHE_PREFIX = 'userid' USERIDCACHE_PREFIX = 'userid'
VOD_URL_TEMPLATE = 'https://api.twitch.tv/kraken/channels/%s/videos?broadcast_type=archive,highlight,upload&limit=5' VOD_URL_TEMPLATE = 'https://api.twitch.tv/kraken/channels/%s/videos?broadcast_type=archive,highlight,upload&limit=5'
USERID_URL_TEMPLATE = 'https://api.twitch.tv/kraken/users?login=%s' USERID_URL_TEMPLATE = 'https://api.twitch.tv/kraken/users?login=%s'
VODCACHE_LIFETIME = 120 VODCACHE_LIFETIME = 600
USERIDCACHE_LIFETIME = 0 # No expire USERIDCACHE_LIFETIME = 0 # No expire