Skip to content

Commit 30f4085

Browse files
committed
fix: increase DAEMON_STATUS_INTERVAL_MS to improve backend performance
- Updated the DAEMON_STATUS_INTERVAL_MS constant from 20,000 to 60,000 milliseconds to reduce the frequency of daemon status checks, enhancing overall backend performance and resource management.
1 parent 54e2b23 commit 30f4085

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/api/src/core/backends/backends.gateway.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type DaemonStatusPayload = {
2525
};
2626

2727
const IDENTITY_JOB_TYPES = [ActionType.IDENTITY_UPDATE, ActionType.IDENTITY_CREATE, ActionType.IDENTITY_DELETE];
28-
const DAEMON_STATUS_INTERVAL_MS = 20_000;
28+
const DAEMON_STATUS_INTERVAL_MS = 60_000;
2929

3030
@Public()
3131
@WebSocketGateway({

0 commit comments

Comments
 (0)