Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
Overhang.IO committed Oct 4, 2023
2 parents 59748f1 + 06ad197 commit 3264542
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/20231003_144841_paulo_mongodb_connect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[Improvement] Adds `connect=False` to the LMS and CMS' MongoDB connection to prevent `ServerSelectionError` after a cluster failover. (by @open-craft)
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"user": {% if MONGODB_USERNAME %}"{{ MONGODB_USERNAME }}"{% else %}None{% endif %},
"password": {% if MONGODB_PASSWORD %}"{{ MONGODB_PASSWORD }}"{% else %}None{% endif %},
# Connection/Authentication
"connect": False,
"ssl": {{ MONGODB_USE_SSL }},
"authsource": "{{ MONGODB_AUTH_SOURCE }}",
"replicaSet": {% if MONGODB_REPLICA_SET %}"{{ MONGODB_REPLICA_SET }}"{% else %}None{% endif %},
Expand Down

0 comments on commit 3264542

Please sign in to comment.