Skip to content

Commit

Permalink
changed the tileout of proxy method calls via zmq to 15s
Browse files Browse the repository at this point in the history
it was 5s formerly, but if used for database calls for instance, the
database connection itself has a timeout of 15s, so it may be longer
than the initial 5s.
  • Loading branch information
denisri committed May 23, 2024
1 parent 14d66a5 commit a9d1e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/soma_workflow/zro.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ def get_socket(self):

def __call__(self, *args, **kwargs):
try:
timeout = 5000 # ms
timeout = 15000 # ms
logger = logging.getLogger('zro.ObjectServer')
logger.debug('Execute method: %s.%s(*%s, **%s)'
% (self.proxy.classname, self.method, repr(args),
Expand Down

0 comments on commit a9d1e87

Please sign in to comment.