Skip to content

Commit

Permalink
Fix request_timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
attdona committed Jul 7, 2024
1 parent 1bc422e commit ae401fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rembus/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __str__(self):
return f'{retcode[self.status]}'

def request_timeout():
return os.environ.get('REMBUS_TIMEOUT', 3)
return float(os.environ.get('REMBUS_TIMEOUT', 10.0))


def msg_status(response):
Expand Down

0 comments on commit ae401fc

Please sign in to comment.