Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap between UnifiedPush and Websocket when server is down/up #11

Open
1 task done
schklom opened this issue Feb 8, 2024 · 1 comment
Open
1 task done

Swap between UnifiedPush and Websocket when server is down/up #11

schklom opened this issue Feb 8, 2024 · 1 comment

Comments

@schklom
Copy link

schklom commented Feb 8, 2024

Is there an existing request for this?

  • I have searched the existing issues

Feature description

The idea originated in the Matrix chat, thanks to S1m (I assume is @p1gp1g) :)

Problem

If the mollysocket server goes down, Molly simply stops receiving notifications until the server owner notices by themselves and starts it back up.

Solution

Every X time (e.g. every hour), the mollysocket server can ping Molly-UP.
As S1m puts it in the chat

every hour mollysocket sends a ping, if the phone doesn't get a ping for more than one hour, it can assume mollysocket is down

then switch back to UP if it receives a ping

I would also love to get a Molly-UP (low-priority maybe?) notification when the server is considered down so I know that I (or a friend) need to restart it.

@gilou
Copy link

gilou commented Mar 25, 2024

You already get an info when it's down if you use NextPush at least ;)

I'd say it'd be nice if that was indeed a feature, and configurable.. Also would enjoy it being in fact off when battery saver is on… but that might be an upstream feature, more than just UP ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants