web: reduce polling interval
The operations will usually take half a second.
This commit is contained in:
parent
c6ebe5a360
commit
1ff1cae709
@ -55,7 +55,7 @@ export default function OperationStatusPage() {
|
||||
|
||||
fetchOperation();
|
||||
if (!intervalRef.current) {
|
||||
intervalRef.current = setInterval(fetchOperation, 5000);
|
||||
intervalRef.current = setInterval(fetchOperation, 1000);
|
||||
}
|
||||
|
||||
return () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user