mirror of
https://github.com/p-stream/p-stream.git
synced 2026-05-10 20:20:57 +00:00
Update ProgressSyncer.tsx
This commit is contained in:
parent
310a7839ef
commit
7fa64efc7b
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ import { useBackendUrl } from "@/hooks/auth/useBackendUrl";
|
||||||
import { AccountWithToken, useAuthStore } from "@/stores/auth";
|
import { AccountWithToken, useAuthStore } from "@/stores/auth";
|
||||||
import { ProgressUpdateItem, useProgressStore } from "@/stores/progress";
|
import { ProgressUpdateItem, useProgressStore } from "@/stores/progress";
|
||||||
|
|
||||||
const syncIntervalMs = 10 * 1000; // 10 second intervals
|
const syncIntervalMs = 20 * 1000; // 20 second intervals
|
||||||
|
|
||||||
async function syncProgress(
|
async function syncProgress(
|
||||||
items: ProgressUpdateItem[],
|
items: ProgressUpdateItem[],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue