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 #420

Open
1 task done
schklom opened this issue Jan 10, 2025 · 0 comments
Open
1 task done

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

schklom opened this issue Jan 10, 2025 · 0 comments
Labels
feature-request New feature or request

Comments

@schklom
Copy link

schklom commented Jan 10, 2025

Guidelines

  • Yes, I have searched the existing requests

Feature Description

Follow-up for mollyim#11

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.

@schklom schklom added the feature-request New feature or request label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Development

No branches or pull requests

1 participant