Skip to content

Commit f4f5d97

Browse files
authored
fix(ceremony): reduce polling (#3170)
As the queue gets bigger and bigger I think it's better to reduce the request a bit
2 parents 6213749 + 86b3441 commit f4f5d97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ceremony/src/lib/state/contributor.svelte.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ type QueueInfoResult = QueueInfoSuccess | QueueInfoError
6767

6868
const second = 1000
6969
const CLIENT_POLING_INTERVAL = second * 5
70-
const CONTRIBUTION_POLLING_INTERVAL = second * 5
71-
const QUEUE_POLLING_INTERVAL = second * 15
70+
const CONTRIBUTION_POLLING_INTERVAL = second * 15
71+
const QUEUE_POLLING_INTERVAL = second * 30
7272

7373
export class Contributor {
7474
userId = $state<string | undefined>(undefined)

0 commit comments

Comments
 (0)