mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 05:28:13 +02:00
made the requests never expire
This commit is contained in:
@ -489,7 +489,7 @@ if __name__ == "__main__":
|
|||||||
if args.cache_requests:
|
if args.cache_requests:
|
||||||
import requests_cache
|
import requests_cache
|
||||||
|
|
||||||
requests_cache.install_cache('github_cache', expire_after=timedelta(weeks=2))
|
requests_cache.install_cache('github_cache', expire_after=requests_cache.NEVER_EXPIRE)
|
||||||
|
|
||||||
g = Github(os.environ["GITHUB_AUTH_TOKEN_CRAB"], seconds_between_requests=0)
|
g = Github(os.environ["GITHUB_AUTH_TOKEN_CRAB"], seconds_between_requests=0)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user