Skip to content

Commit 62c4ee8

Browse files
committed
Shorten the wait for janus as it is usually pretty fast
1 parent b8a1e49 commit 62c4ee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

octoprint_thespaghettidetective/webcam_stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def run_janus():
160160

161161
self.start_janus_ws_tunnel()
162162

163-
@backoff.on_exception(backoff.expo, Exception, max_tries=10)
163+
@backoff.on_exception(backoff.expo, Exception, max_tries=7)
164164
def wait_for_janus(self):
165165
time.sleep(1)
166166
socket.socket().connect((JANUS_SERVER, 8188))

0 commit comments

Comments
 (0)