TODO: throttle on async validators (#755)

* fixed todo: throttle on async validators

* added test: validate message respects concurrency limit

* added newsfragment

* added configurable validator semaphore in the PubSub constructor

* added the concurrency-checker in the original test-validate-msg test case

* separate out a _run_async_validator function

* remove redundant run_async_validator
This commit is contained in:
Abhinav Agarwalla
2025-07-18 17:31:28 +05:30
committed by GitHub
parent 3507531344
commit 11560f5cc9
3 changed files with 77 additions and 14 deletions

View File

@ -0,0 +1,2 @@
Added throttling for async topic validators in validate_msg, enforcing a
concurrency limit to prevent resource exhaustion under heavy load.