Raise agent heartbeat concurrency default

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-05-01 10:08:52 -05:00
1 parent 42a299fb9d
commit 5bb53f28ff
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -676,7 +676,7 @@ Per-agent schedule fields in `adapter_config`:
- `enabled` boolean
- `intervalSec` integer (minimum 30)
- `maxConcurrentRuns` integer; new agents default to `5`
- `maxConcurrentRuns` integer; new agents default to `20`
Scheduler must skip invocation when:
+1 -1
View File
@@ -72,7 +72,7 @@ export const AGENT_ROLE_LABELS: Record<AgentRole, string> = {
general: "General",
};
export const AGENT_DEFAULT_MAX_CONCURRENT_RUNS = 5;
export const AGENT_DEFAULT_MAX_CONCURRENT_RUNS = 20;
export const WORKSPACE_BRANCH_ROUTINE_VARIABLE = "workspaceBranch";
export const MODEL_PROFILE_KEYS = ["cheap"] as const;
@@ -901,7 +901,7 @@ describe.sequential("agent permission routes", () => {
heartbeat: {
enabled: false,
intervalSec: 3600,
maxConcurrentRuns: 5,
maxConcurrentRuns: 20,
},
},
}),
@@ -939,7 +939,7 @@ describe.sequential("agent permission routes", () => {
heartbeat: {
enabled: false,
intervalSec: 3600,
maxConcurrentRuns: 5,
maxConcurrentRuns: 20,
},
},
}),
@@ -2158,7 +2158,7 @@ describe("company portability", () => {
runtimeConfig: {
heartbeat: {
enabled: false,
maxConcurrentRuns: 5,
maxConcurrentRuns: 20,
},
},
});
@@ -2237,7 +2237,7 @@ describe("company portability", () => {
runtimeConfig: {
heartbeat: {
enabled: false,
maxConcurrentRuns: 5,
maxConcurrentRuns: 20,
},
},
}));
+1 -1
View File
@@ -145,7 +145,7 @@ const MAX_RUN_EVENT_PAYLOAD_OBJECT_KEYS = 100;
const MAX_RUN_EVENT_PAYLOAD_DEPTH = 6;
const HEARTBEAT_MAX_CONCURRENT_RUNS_DEFAULT = AGENT_DEFAULT_MAX_CONCURRENT_RUNS;
const HEARTBEAT_MAX_CONCURRENT_RUNS_MIN = 1;
const HEARTBEAT_MAX_CONCURRENT_RUNS_MAX = 10;
const HEARTBEAT_MAX_CONCURRENT_RUNS_MAX = 20;
const LIVENESS_BOOKKEEPING_ACTIVITY_ACTIONS = [
"environment.lease_acquired",
"environment.lease_released",