Skip to content

Commit 94739ef

Browse files
committed
Replace deprecated setDaemon.
1 parent c9f1b05 commit 94739ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmdstanpy/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1620,7 +1620,7 @@ def _timer_target():
16201620
runset._set_timeout_flag(idx, True)
16211621

16221622
timer = threading.Timer(timeout, _timer_target)
1623-
timer.setDaemon(True)
1623+
timer.daemon = True
16241624
timer.start()
16251625
else:
16261626
timer = None

0 commit comments

Comments
 (0)