Skip to content

Rework for recent Mongo versions#53

Open
tiennou wants to merge 5 commits into
ScreepsMods:masterfrom
tiennou:rework
Open

Rework for recent Mongo versions#53
tiennou wants to merge 5 commits into
ScreepsMods:masterfrom
tiennou:rework

Conversation

@tiennou

@tiennou tiennou commented May 9, 2026

Copy link
Copy Markdown
Member

This makes the server run against MongoDB v8.2.7 and Redis v8.6.3.

Also gets rid of q entirely in favor of vanilla promises and side-steps a silly issue in @screeps/storage. The minimal db setup function is exposed so admin-utils' importMap can make use of it instead of carrying its own version of that setup.

@AlinaNova21

Copy link
Copy Markdown
Member

LGTM

@tiennou

tiennou commented May 14, 2026

Copy link
Copy Markdown
Member Author

Okay, so I test-ran on Sandbox (after adding backup support to Jomik), running on top of Mongo 6, and ended up reverting it all because ticks were consistently hitting the waitForMainLoop reset, causing a tick rate jump to 4-5 s. So I guess it needs more work but I'm not sure how to identify what's the slowdown 😅.

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