Skip to content

Commit 6337fe2

Browse files
Increase debounce delay when fetching computation results (#3189)
Signed-off-by: Franck LECUYER <[email protected]>
1 parent 9270c6a commit 6337fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/use-node-data.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export function useNodeData<T, R = T>({
134134
}, [nodeUuid, fetcher, rootNetworkUuid, studyUuid, resultConverter]);
135135

136136
// Debounce the update to avoid excessive calls
137-
const debouncedUpdate = useDebounce(update, 500);
137+
const debouncedUpdate = useDebounce(update, 1000);
138138

139139
/* initial fetch and update */
140140
useEffect(() => {

0 commit comments

Comments
 (0)