Skip to content

Commit

Permalink
Increase google drive network timeouts
Browse files Browse the repository at this point in the history
We seem to hit a lot of timeouts while trying to download GDrive files.

This looks like the first obvious step before digging any further.
  • Loading branch information
marcospri committed Nov 9, 2023
1 parent 11bff03 commit 2f78ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion via/services/google_drive.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class GoogleDriveAPI:

# Configure all the various types of timeout available to us, with the hope
# that the shortest one will kick in first
TIMEOUT = 30
TIMEOUT = 60

def __init__(self, credentials_list, resource_keys):
"""Initialise the service.
Expand Down

0 comments on commit 2f78ad1

Please sign in to comment.