We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 758f287 commit 842cad3Copy full SHA for 842cad3
instana/fsm.py
@@ -26,6 +26,7 @@ class Fsm(object):
26
27
agent = None
28
fsm = None
29
+ timer = None
30
31
def __init__(self, agent):
32
l.debug("initializing fsm")
@@ -106,7 +107,9 @@ def announce_sensor(self, e):
106
107
self.fsm.announce()
108
109
def schedule_retry(self, fun, e):
- t.Timer(self.RETRY_PERIOD, fun, [e]).start()
110
+ self.timer = t.Timer(self.RETRY_PERIOD, fun, [e])
111
+ self.timer.setDaemon(True)
112
+ self.timer.start()
113
114
def test_agent(self, e):
115
l.debug("testing communication with the agent")
0 commit comments