Skip to content

Commit

Permalink
increased iRODS session timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
sellth committed Aug 7, 2023
1 parent 67b7435 commit e7df7b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cubi_tk/irods_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def init_irods(irods_env_path: Path, ask: bool = False) -> iRODSSession:
try:
session = iRODSSession(irods_env_file=irods_env_path)
session.server_version # check for outdated .irodsA file
session.connection_timeout = 300
return session
except Exception as e: # pragma: no cover
logger.error(f"iRODS connection failed: {get_irods_error(e)}")
Expand Down

0 comments on commit e7df7b7

Please sign in to comment.