about summary refs log tree commit homepage
path: root/script
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-06-10 07:04:39 +0000
committerEric Wong <e@yhbt.net>2020-06-13 07:55:45 +0000
commit48180dbb004b5f59b2e80613b6fa2e5e869316f1 (patch)
tree95f8021050131910f01072d241334eb39e24912e /script
parent85993613eae14f63785e9c75cc41358e603c0bbf (diff)
downloadpublic-inbox-48180dbb004b5f59b2e80613b6fa2e5e869316f1.tar.gz
This will be used to prevent reloading a giant config with
tens/hundreds of thousands of inboxes from blocking the event
loop.
Diffstat (limited to 'script')
-rw-r--r--script/public-inbox-imapd2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-imapd b/script/public-inbox-imapd
index 63f865f5..60f2e6d8 100644
--- a/script/public-inbox-imapd
+++ b/script/public-inbox-imapd
@@ -9,6 +9,6 @@ use PublicInbox::IMAPdeflate; # loads PublicInbox::IMAP
 use PublicInbox::IMAPD;
 my $imapd = PublicInbox::IMAPD->new;
 PublicInbox::Daemon::run('0.0.0.0:143',
-        sub { $imapd->refresh_groups }, # refresh
+        sub { $imapd->refresh_groups(@_) }, # refresh
         sub ($$$) { PublicInbox::IMAP->new($_[0], $imapd) }, # post_accept
         $imapd);