Commit 9ff2906
introduce a reconnect delay
Add a sleep() in reconnect() to have some relevant delay between reconnects. Otherwise
max_reconnect will be hit within a second and we exit immediately.
Signed-off-by: Florian Pelgrim <florian.pelgrim@craneworks.de>1 parent b7cac0a commit 9ff2906
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| 141 | + | |
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
| |||
0 commit comments