this post was submitted on 06 Jul 2023
2 points (100.0% liked)

Lemmy / Site Discussions

155 readers
1 users here now

Navigation Links:

Got any ideas to make the instance better? Any issue with federating from your home instance? Post it here.

founded 1 year ago
MODERATORS
 

Hi guys weird question, I use lemmy's inbox RSS as a sort of pseudo push notification (currently using monito RSS discord bot polling at every 10 min).

I was considering dropping the poll rate to every 1-2 min. Out of curiosity is a rss poll rate of every 1-2 min acceptable or considered excessive.

Primary reason I was considering dropping the poll rate this low is to prevent a notification lag (ie when brosing lemmy via a 3rd party app after viewing and marking a message as read 10 min latter I get a inbox notification for the same message).

Curious on your thoughts

top 4 comments
sorted by: hot top controversial new old
[–] neshura 3 points 1 year ago (2 children)

Can't really speak for "Standards" but the Mestionora Bot polls the jnc rss feeds once every minute as well. From a code and networking perspective a fetch of an rss feed once a minute probably doesn't even show up in any monitoring tools

[–] Deemo@lemmy.fmhy.ml 2 points 1 year ago

Thanks for the clarification ☺️

[–] Deemo@lemmy.fmhy.ml 2 points 1 year ago* (last edited 1 year ago) (1 children)

I actually ended up handling push notifications slightly differently.

I have a Mac Mini running 24/7 (primarily to relay iMessage to my Android)

I set up email rules to detecect the email and run an apple script that runs a shortcut which checks my Lemmy rss inbox and sends a push notification via ntfy. Works like a charm

[–] neshura 1 points 1 year ago

Great workaround, hopefully some of the new apps coming will have notifications built in so stuff like this w9n't be neccessary anymore

load more comments
view more: next ›