Commit Graph

2 Commits

Author SHA1 Message Date
MickLesk
87531e969c fix(anytype-server): wait for MongoDB readiness before rs.initiate()
Replace fixed 3-second sleep with a proper readiness loop (up to 60s)
that polls MongoDB via ping before attempting replica set initiation.
The previous sleep was insufficient on slower systems, causing
'MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017'.

Fixes #13136
2026-03-21 19:17:40 +01:00
push-app-to-main[bot]
c55d0784e2 Anytype-Server (#12974)
Co-authored-by: push-app-to-main[bot] <203845782+push-app-to-main[bot]@users.noreply.github.com>
2026-03-16 17:33:32 +01:00