main
parent
b083d3e064
commit
acdc6c8567
|
|
@ -29,7 +29,7 @@ export function useAgentEditor({ id, isNew, form, message, navigate }: UseAgentE
|
||||||
const pollCount = useRef(0);
|
const pollCount = useRef(0);
|
||||||
const hydratingRef = useRef(false);
|
const hydratingRef = useRef(false);
|
||||||
|
|
||||||
const MAX_POLL_COUNT = 30;
|
const MAX_POLL_COUNT = 100;
|
||||||
|
|
||||||
const stopPolling = () => {
|
const stopPolling = () => {
|
||||||
if (pollTimer.current) {
|
if (pollTimer.current) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue