Skip to content

Commit

Permalink
Update firehose.py
Browse files Browse the repository at this point in the history
Increase timeout
  • Loading branch information
bkerler authored Aug 19, 2021
1 parent 5ef6b00 commit 617e8d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions edl/Library/firehose.py
Original file line number Diff line number Diff line change
Expand Up @@ -911,13 +911,13 @@ def getlunsize(self, lun):
def connect(self):
v = b'-1'
if platform.system() == 'Windows':
self.cdc.timeout = 10
self.cdc.timeout = 50
elif platform.system() == 'Darwin':
# must ensure the timeout is enough to fill the buffer we alloc
# which is 1MB, othwise some data are dropped in the underlying usb libraries
self.cdc.timeout = 50
else:
self.cdc.timeout = 10
self.cdc.timeout = 50
info = []
while v != b'':
try:
Expand Down Expand Up @@ -1241,4 +1241,4 @@ def cmd_rawxml(self, data, response=True):
return False
else:
self.xmlsend(data, False)
return True
return True

0 comments on commit 617e8d8

Please sign in to comment.