diff --git a/packages/insomnia/src/ui/components/request-url-bar.tsx b/packages/insomnia/src/ui/components/request-url-bar.tsx index 72720cf38518..dcaffcdbabf2 100644 --- a/packages/insomnia/src/ui/components/request-url-bar.tsx +++ b/packages/insomnia/src/ui/components/request-url-bar.tsx @@ -190,7 +190,7 @@ export const RequestUrlBar = forwardRef(({ }; }, [sendOrConnect]); - useInterval(sendOrConnect, currentInterval ? currentInterval : null); + useInterval(sendOrConnect, currentInterval && fetcher.state === 'idle' ? currentInterval : null); useTimeoutWhen(sendOrConnect, currentTimeout, !!currentTimeout); const patchRequest = useRequestPatcher(); @@ -327,6 +327,7 @@ export const RequestUrlBar = forwardRef(({ defaultValue: '3', submitName: 'Start', onComplete: seconds => { + sendOrConnect(); setCurrentInterval(+seconds * 1000); }, })}