Skip to content

Commit

Permalink
feat: change listener polling interval to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
acaldas committed Jul 17, 2024
1 parent f2819a2 commit a3b184a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hooks/useClientErrorHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const useClientErrorHandler = (): ClientErrorHandler => {
triggerData.url,
{
pullInterval:
Number(triggerData.interval) || 3000,
Number(triggerData.interval) || 10000,
},
);

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useLoadDefaultDrives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const useLoadDefaultDrives = () => {
},
],
triggers: [],
pullInterval: 3000,
pullInterval: 10000,
})
.then(() =>
setConfig(conf => ({
Expand Down

0 comments on commit a3b184a

Please sign in to comment.