git.cweiske.de
/
auerswald-callnotifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
11fa9e4
)
sleep before reconnecting
author
Christian Weiske
<cweiske@cweiske.de>
Thu, 2 Jul 2015 17:56:23 +0000
(19:56 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Thu, 2 Jul 2015 17:56:23 +0000
(19:56 +0200)
src/callnotifier/Source/Remote.php
patch
|
blob
|
history
diff --git
a/src/callnotifier/Source/Remote.php
b/src/callnotifier/Source/Remote.php
index 16c27c0297c3a4b141ef71d2ec5451c7aed7c174..be7604f357f0513b81b9fbb16f17c403ee0f43a1 100644
(file)
--- a/
src/callnotifier/Source/Remote.php
+++ b/
src/callnotifier/Source/Remote.php
@@
-21,6
+21,9
@@
class Source_Remote
$this->loop();
} catch (Exception_ConnectionReset $e) {
$tryAgain = true;
+ //connection is refused directly after a connection reset
+ //hopefully waiting a bit will help
+ sleep(10);
}
} while ($tryAgain);
$this->disconnect();