gh-141498: Change backoff counter to use prime numbers instead of powers of 2 (GH-141591)

This commit is contained in:
Mikhail Efimov 2025-11-21 20:00:25 +03:00 committed by GitHub
parent fb26d9c2ef
commit a3b78a3ade
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 43 additions and 28 deletions

View file

@ -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