Skip to content

Migration to async pymongo with AsyncMongoClient - #26

Merged
MattBSG merged 8 commits into
masterfrom
pymongo-async-rework
Jan 5, 2026
Merged

Migration to async pymongo with AsyncMongoClient#26
MattBSG merged 8 commits into
masterfrom
pymongo-async-rework

Conversation

@MattBSG

@MattBSG MattBSG commented Jan 5, 2026

Copy link
Copy Markdown
Member

Pull request template

Use this template for all contributions made for the repository.

Please indicate all that apply with a checkmark. To make a check, convert brackets below to [x].

  • Feature implementation
  • Bug fix
  • Code change/improvement
  • String change (i.e. grammar/spelling error or an addition)

Describe what your pull request does

The MongoClient has been switched to the AsyncMongoClient which is now stable, converting our database connections to asynchronous ones. Most importantly, this is for future proofing and to reduce the risk of queries causing any interruption to Discord API calls and websocket heartbeats.

Related issues and extra details

Link to any issues that this PR is related to and include extra info such as pictures, if applicable.

@MattBSG
MattBSG marked this pull request as ready for review January 5, 2026 02:15
@MattBSG
MattBSG requested a review from 7bitlyrus January 5, 2026 02:15

@7bitlyrus 7bitlyrus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@MattBSG

MattBSG commented Jan 5, 2026

Copy link
Copy Markdown
Member Author

ty!

@MattBSG
MattBSG merged commit f213c66 into master Jan 5, 2026
1 check passed
@MattBSG
MattBSG deleted the pymongo-async-rework branch January 5, 2026 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants