(20250124) Removed mongo from reminders for work.
This commit is contained in:
@@ -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.")
|
||||
|
||||
# ┳┓
|
||||
# ┃┃┏┓┏┓┏┓
|
||||
|
||||
Reference in New Issue
Block a user