unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* High polling frequency of public-inbox-watch
@ 2019-08-11 16:43 Jan Kiszka
  2019-08-11 16:51 ` Eric Wong
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2019-08-11 16:43 UTC (permalink / raw)
  To: meta

Hi,

I'm running public-inbox for some months very successfully on my server. Great work!

On thing though: I realized that the public-inbox-watch service is scanning the
configured maildirs with a sleep delay of just 2 seconds, and that causes a CPU
load of 20-30% on my box. Can this be configured to a more moderate rate? I
would have patched this already, but I'm not seeing in the code where these 2
seconds may come from.

Thanks,
Jan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-10-15  3:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-11 16:43 High polling frequency of public-inbox-watch Jan Kiszka
2019-08-11 16:51 ` Eric Wong
2019-08-11 17:01   ` Jan Kiszka
2019-08-11 17:33     ` Eric Wong
2019-10-15  3:59       ` [PATCH] INSTALL: recommend inotify|kqueue modules for -watch Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).