Konstantin Ryabitsev <[email protected]> wrote:
> Hello:
> 
> Since lei-daemon is already up and running, would it be possible to tell it to
> automatically "lei up" things at certain intervals?

Yes, something along those lines...  It should at least fall
back to refresh intervals if network connectivity is lost or
HTTP servers w/o support for long-polling.

The ideal thing would be to POST HTTP requests that do
long-polling against -httpd and let curl wait on the response;
similar to IMAP IDLE.

-httpd will probably trickle zero-byte gzipped responses at a
regular intervals to keep connections alive if there is no data,
yet.

There's still a lot of things I want to do w/ inotify and
IDLE(-like) real-time notifications (including the new
public-inbox-fetch command).  I don't like polling as a first
choice.

Also.  I'm not sure what ways exist to be notified on network
up/down events on Linux or *BSDs w/o polling.
--
unsubscribe: one-click, see List-Unsubscribe header
archive: https://public-inbox.org/meta/

Reply via email to