(20241204) Arihant server IP change chaos handling.

This commit is contained in:
2024-12-04 14:24:47 +05:30
parent 0d0f28d48c
commit 9a3ef5fea4
18 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -136,8 +136,10 @@ async def app_startup(**kwargs):
connection_string = constants.MONGO_DATA_CONNECTION_STRING,
database_name = constants.MONGO_DATA_DATABASE_NAME,
max_connections = 10,
debug = True
debug = True,
debug_only_errors = True
)
await current_app.mongo.connect()
# Get the script data:
script_id = os.environ["SCRIPT_ID"]