Increase vod data cache lifetime to 10 mins
This commit is contained in:
parent
53da7045d9
commit
8944c521f7
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue