(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
no_context_printer("MariaDB ready.")
# ┳┳┓
# ┃┃┃┏┓┏┓┏┓┏┓
# ┛ ┗┗┛┛┗┗┫┗┛
# ┛
data_mongo = AsyncMongo(
connection_string = script_cred["mongoDb"]["data"]["connectionString"],
database_name = script_cred["mongoDb"]["data"]["dbName"],
max_connections = script_cred["mongoDb"]["data"]["poolSize"],
debug = debug
)
if not await data_mongo.connect():
print("FATAL: MONGO-DB NOT CONNECTED!")
return False
no_context_printer("MongoDB ready.")
# # ┳┳┓
# # ┃┃┃┏┓┏┓┏┓┏┓
# # ┛ ┗┗┛┛┗┗┫┗┛
# #
#
# data_mongo = AsyncMongo(
# connection_string = script_cred["mongoDb"]["data"]["connectionString"],
# database_name = script_cred["mongoDb"]["data"]["dbName"],
# max_connections = script_cred["mongoDb"]["data"]["poolSize"],
# debug = debug
# )
# if not await data_mongo.connect():
# print("FATAL: MONGO-DB NOT CONNECTED!")
# return False
# no_context_printer("MongoDB ready.")
# ┳┓
# ┃┃┏┓┏┓┏┓