mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 04:20:45 +08:00
Raise runtime defaults for multi-user shared-server deployments.
Size DB pool, CLI budget, and WebCRT session caps for concurrent operators while keeping hard ceilings and env overrides. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
fa577aa3bd
commit
e0503df8a5
16 changed files with 87 additions and 85 deletions
|
|
@ -462,7 +462,7 @@ def dispatch_cycle(cycle_id: str) -> int:
|
|||
.all()
|
||||
)
|
||||
task_ids = [str(t.id) for t in pending]
|
||||
concurrency = max(1, min(16, int(cycle.concurrency or 5)))
|
||||
concurrency = max(1, min(32, int(cycle.concurrency or 5)))
|
||||
finally:
|
||||
db.close()
|
||||
return schedule_cycle_tasks(cycle_id, task_ids, concurrency)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue