summaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-07-19 16:29:32 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-07-19 16:29:32 +0200
commitc66032630f0e4fc3f4b59413a12f9ab35be958be (patch)
tree267ad62e364f141a6c40ac33e8c03794befdd2ff /script
parent12e45f6e461696131b8950245ac26f1dc7fb5573 (diff)
downloadApp-ImapNotify-c66032630f0e4fc3f4b59413a12f9ab35be958be.tar.gz
App-ImapNotify-c66032630f0e4fc3f4b59413a12f9ab35be958be.tar.xz
Reconnect when connection is lost
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'script')
-rwxr-xr-xscript/imap-notify.pl2
1 files changed, 1 insertions, 1 deletions
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();
}
}