Skip to content

Conversation

@0pcom
Copy link
Collaborator

@0pcom 0pcom commented Jun 1, 2025

I was having some issues with dmsgweb not actually connecting to dmsg as it should with the new the default of connecting via the dmsghttp-config.

so i've implemented the same logic which was already implemented in skywire for randomizing the order of dmsg servers, so that clients will not by default all attempt to connect via the same dmsg server.

@0pcom
Copy link
Collaborator Author

0pcom commented Jun 1, 2025

Note that this does not solve a retry loop when dmsg-disc can't be connected to by the first dmsg server which is connected to. It will only potentially mitigate this from happening every time because the same server won't be used first every time. We still need to improve the logic to handle retry loops better, when connecting to dmsg-disc via dmsghttp.

@0pcom 0pcom merged commit d2e0a7c into skycoin:develop Jun 1, 2025
2 of 3 checks passed
@0pcom 0pcom deleted the randomize-servers-dmsghttp branch June 1, 2025 16:02
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.

1 participant