peakshift/makers.bolt.fun

Commenting failing due to relays disconnecting

Opened this issue · 0 comments

Sometimes, after being on a story page for some time, the connection to the relays might automatically close.
So if a user attempts to publish a comment, it won't publish on the disconnected relays.

This issue needs some more investigation to confirm the cause first.
But if it's just as it appears (relays closing connection automatically after some time), then possible solutions could be:

  • Refreshing the connection to all the relays on some time interval.
  • Refreshing the connection to all relays immediately before publishing a comment. (But this would cause a few seconds delay to publishing the comment)

But if the problem is something else, then the solution could be something different.