Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/scancode/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ def terminate_pool(pool):

def terminate_pool_with_backoff(pool, number_of_trials=3):
# try a few times to terminate,
for trial in range(number_of_trials, 1):
for trial in range(number_of_trials):
try:
Comment thread
codewithfourtix marked this conversation as resolved.
pool.terminate()
break
Expand Down
Loading