Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions apps/ade-cli/src/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,9 @@ export async function createAdeRuntime(args: {
githubService: headlessLinearServices.githubService,
listRules: () => (automationService ? projectConfigService.get().effective.automations ?? [] : []),
ingressCursorStore: createKvIngressCursorStore(db),
// 30s halves worst-case webhook latency. Each poll is one request to our
// own relay worker (no GitHub data cost); the service floors at 30s.
pollIntervalMs: 30_000,
});
void automationIngressService.start().catch((error) => {
logger.warn("automations.ingress_start_failed", {
Expand Down
3 changes: 3 additions & 0 deletions apps/desktop/src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3201,6 +3201,9 @@ app.whenReady().then(async () => {
githubService,
listRules: () => (automationService ? projectConfigService.get().effective.automations ?? [] : []),
ingressCursorStore: createKvIngressCursorStore(db),
// 30s halves worst-case webhook latency. Each poll is one request to
// our own relay worker (no GitHub data cost); the service floors at 30s.
pollIntervalMs: 30_000,
});

const githubPollingService = automationService
Expand Down
Loading