mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-141498: Change backoff counter to use prime numbers instead of powers of 2 (GH-141591)
This commit is contained in:
parent
fb26d9c2ef
commit
a3b78a3ade
3 changed files with 43 additions and 28 deletions
|
|
@ -590,7 +590,7 @@ def make_deferred_ref_count_obj():
|
|||
class TestRacesDoNotCrash(TestBase):
|
||||
# Careful with these. Bigger numbers have a higher chance of catching bugs,
|
||||
# but you can also burn through a *ton* of type/dict/function versions:
|
||||
ITEMS = 1000
|
||||
ITEMS = 1400
|
||||
LOOPS = 4
|
||||
WRITERS = 2
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue