Skip to content

Commit

Permalink
increaing db sleep due to errors like /home/sean/github/rh-k12/augur/…
Browse files Browse the repository at this point in the history
…tasks/git/dependency_libyear_tasks/tasks.py,: cannot open `/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/tasks.py,' (No such file or directory)

line:                                                                        cannot open `line' (No such file or directory)
12,:                                                                         cannot open `12,' (No such file or directory)
in:                                                                          cannot open `in' (No such file or directory)
process_libyear_dependency_metrics:                                          cannot open `process_libyear_dependency_metrics' (No such file or directory)

Signed-off-by: Sean P. Goggins <[email protected]>
  • Loading branch information
sgoggins committed Jun 5, 2024
1 parent 7cb9d97 commit 744bcf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions augur/application/db/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,8 @@ def bulk_insert_dicts(logger, data: Union[List[dict], dict], table, natural_keys

# print(str(stmnt.compile(dialect=postgresql.dialect())))
attempts = 0
# creates list from 1 to 10
sleep_time_list = list(range(1,11))
# creates list from 1 to 10 / changed to 10-30 because deadlocks are taking longer
sleep_time_list = list(range(10,30))
deadlock_detected = False

engine = get_engine()
Expand Down

0 comments on commit 744bcf5

Please sign in to comment.