From c66032630f0e4fc3f4b59413a12f9ab35be958be Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 19 Jul 2018 16:29:32 +0200 Subject: Reconnect when connection is lost Signed-off-by: Florian Pritz --- script/imap-notify.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script') diff --git a/script/imap-notify.pl b/script/imap-notify.pl index d540e76..234c5e8 100755 --- a/script/imap-notify.pl +++ b/script/imap-notify.pl @@ -101,7 +101,7 @@ for my $single_conf ($config->{watches}->@*) { $single_conf->{password} = `$single_conf->{passwordeval}`; push @workers, mce_async { my $app = App::ImapNotify->new($single_conf); - $app->loop(); + $app->loop_reconnect(); } } -- cgit v1.2.3-24-g4f1b