Change cache time to 24hr (daily update time)

This commit is contained in:
Kirill Kotikov 2020-03-23 10:35:02 +03:00 committed by GitHub
parent 3ec32bb6c2
commit 0fd7021030
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ class GithubTrendingBridge extends BridgeAbstract {
const NAME = 'Github Trending'; const NAME = 'Github Trending';
const URI = 'https://github.com/trending'; const URI = 'https://github.com/trending';
const URI_ITEM = 'https://github.com'; const URI_ITEM = 'https://github.com';
const CACHE_TIMEOUT = 43200; // 12hr const CACHE_TIMEOUT = 86400; // 24hr (minimum since daily)
const DESCRIPTION = 'See what the GitHub community is most excited repos.'; const DESCRIPTION = 'See what the GitHub community is most excited repos.';
const PARAMETERS = array( const PARAMETERS = array(
'By language' => array( 'By language' => array(