9
submitted 1 year ago* (last edited 1 year ago) by Deemo@lemmy.fmhy.ml to c/memmy@lemmy.ml

Hi guys quick question about memmy's push notifications. Is the backened relying on polling the lemmy api (at a call rate of one api call per second)?~~ Or is it connecting to lemmy instances via ~~websockets and relaying incoming websocket pushes?~~ (lemmy uses long polling not web sockets 🤦 )

https://www.pubnub.com/blog/http-long-polling/

Looking at the code I'm guessing its relying on a polling based solution (but I might be wrong).

https://github.com/Memmy-App/memmy-push/blob/1e698a8bdb5a8c7b5e96f96d328fd6235094a006/app/Providers/RouteServiceProvider.php#L5

Just curious 😉

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 06 Jul 2023
9 points (100.0% liked)

Memmy - An iOS client for Lemmy

5070 readers
1 users here now

Download on the App Store

View on GitHub

Join the Discord

Code of Conduct

founded 1 year ago
MODERATORS