Skip to content

Commit

Permalink
keeping child process timeout 1 second
Browse files Browse the repository at this point in the history
  • Loading branch information
maltfield committed Jul 27, 2024
1 parent 2749938 commit f5fd8d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/packages/buskill/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1038,9 +1038,8 @@ def toggle(self):

# how much time has passed since we've been looping?
current = time.time()
#if (current - start) > 0.1:
if (current - start) > 1:
# we've been waiting for more than 0.1 seconds; exit with error
# we've been waiting for more than 1 second; exit with error

msg = "ERROR: timeout waiting for usb handler child process"
print( msg ); logger.error( msg )
Expand Down

0 comments on commit f5fd8d1

Please sign in to comment.