Skip to content

Commit

Permalink
Make "This machines is too slow ..." non-fatal.
Browse files Browse the repository at this point in the history
This failure may be intermittent and it currently stops the
worker.
  • Loading branch information
vdbergh authored and ppigazzini committed Feb 24, 2024
1 parent 8163ca9 commit 54048a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ def parse_options(s):
)

if base_nps < 231000 / (1 + math.tanh((worker_concurrency - 1) / 8)):
raise FatalException(
raise WorkerException(
"This machine is too slow ({} nps / thread) to run fishtest effectively - sorry!".format(
base_nps
)
Expand Down

0 comments on commit 54048a2

Please sign in to comment.