mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-25 12:01:04 +02:00
fix: address concurrency review findings (campaign-scoped counter, cleanup hardening, webrtc run validation)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
bd69382a90
commit
6f977cf6d9
15 changed files with 594 additions and 50 deletions
|
|
@ -150,7 +150,11 @@ COUNTRY_CODES = {
|
|||
"IE": "353", # Ireland
|
||||
}
|
||||
|
||||
DEFAULT_ORG_CONCURRENCY_LIMIT = int(os.getenv("DEFAULT_ORG_CONCURRENCY_LIMIT", "10"))
|
||||
# Floor at 1 so a misconfigured env var (0 or negative) can't silently block
|
||||
# every call in the deployment.
|
||||
DEFAULT_ORG_CONCURRENCY_LIMIT = max(
|
||||
1, int(os.getenv("DEFAULT_ORG_CONCURRENCY_LIMIT", "10"))
|
||||
)
|
||||
DEFAULT_CAMPAIGN_RETRY_CONFIG = {
|
||||
"enabled": True,
|
||||
"max_retries": 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue