Skip to content

Commit

Permalink
set default db connection timeout to 100 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
panakouris authored Apr 29, 2022
1 parent 2e8bcdb commit bd28e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terracotta/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class TerracottaSettings(NamedTuple):
PNG_COMPRESS_LEVEL: int = 1

#: Timeout in seconds for database connections
DB_CONNECTION_TIMEOUT: int = 10
DB_CONNECTION_TIMEOUT: int = 100

#: Path where cached remote SQLite databases are stored (when using sqlite-remote provider)
REMOTE_DB_CACHE_DIR: str = os.path.join(tempfile.gettempdir(), 'terracotta')
Expand Down

0 comments on commit bd28e23

Please sign in to comment.