add offline_mode and disable version check

This commit is contained in:
Saravanan Palanisamy
2024-10-08 09:13:49 +04:00
parent 929e665c5e
commit 16dd352524
2 changed files with 17 additions and 5 deletions

View File

@@ -355,3 +355,9 @@ else:
AIOHTTP_CLIENT_TIMEOUT = int(AIOHTTP_CLIENT_TIMEOUT)
except Exception:
AIOHTTP_CLIENT_TIMEOUT = 300
####################################
# OFFLINE_MODE
####################################
OFFLINE_MODE = os.environ.get("OFFLINE_MODE", "false").lower() == "true"