Skip to content

Commit

Permalink
Increase lock wait time to 7200s (2 hrs) to avoid exit failure
Browse files Browse the repository at this point in the history
  • Loading branch information
bkieft-usa committed Feb 10, 2025
1 parent fcddc7b commit da26c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metatlas/datastructures/object_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def __init__(self):
logger.debug('Using database at: %s', self.get_database_path(with_password=False))
self.path = self.get_database_path(with_password=True)
mysql_kwargs = {"pool_recycle": 3600, "connect_args": {"connect_timeout": 120}}
sqlite_kwargs = {"connect_args": {"timeout": 0.01}}
sqlite_kwargs = {"connect_args": {"timeout": 7200}}
self.engine_kwargs = sqlite_kwargs if self.path.startswith("sqlite") else mysql_kwargs

self.tablename_lut = {}
Expand Down

0 comments on commit da26c57

Please sign in to comment.