pallets / werkzeug

The comprehensive WSGI web application library.
https://werkzeug.palletsprojects.com
BSD 3-Clause "New" or "Revised" License
6.63k stars 1.73k forks source link

synchronize failed pin entry #2940

Closed davidism closed 3 weeks ago

davidism commented 3 weeks ago

Use multiprocessing.Value to track failed pin entry count, which synchronizes it across threads and processes. This limits the attempts when running the dev server in multithread or multiprocess mode.

fixes #2916

davidism commented 3 weeks ago

GitHub seems to be having an issue with workflows right now. Running tox locally shows all tests envs passing. Seems like GitHub is having an issue with the merge button as well, so I'll just have to wait to merge this.