(20250124) Removed mongo from reminders for work.

This commit is contained in:
2025-01-24 10:43:46 +05:30
parent c9c2a799de
commit c870dbbfdf
+15 -15
View File
@@ -207,21 +207,21 @@ async def init(
return False return False
no_context_printer("MariaDB ready.") no_context_printer("MariaDB ready.")
# ┳┳┓ # # ┳┳┓
# ┃┃┃┏┓┏┓┏┓┏┓ # # ┃┃┃┏┓┏┓┏┓┏┓
# ┛ ┗┗┛┛┗┗┫┗┛ # # ┛ ┗┗┛┛┗┗┫┗┛
# ┛ # #
#
data_mongo = AsyncMongo( # data_mongo = AsyncMongo(
connection_string = script_cred["mongoDb"]["data"]["connectionString"], # connection_string = script_cred["mongoDb"]["data"]["connectionString"],
database_name = script_cred["mongoDb"]["data"]["dbName"], # database_name = script_cred["mongoDb"]["data"]["dbName"],
max_connections = script_cred["mongoDb"]["data"]["poolSize"], # max_connections = script_cred["mongoDb"]["data"]["poolSize"],
debug = debug # debug = debug
) # )
if not await data_mongo.connect(): # if not await data_mongo.connect():
print("FATAL: MONGO-DB NOT CONNECTED!") # print("FATAL: MONGO-DB NOT CONNECTED!")
return False # return False
no_context_printer("MongoDB ready.") # no_context_printer("MongoDB ready.")
# ┳┓ # ┳┓
# ┃┃┏┓┏┓┏┓ # ┃┃┏┓┏┓┏┓