diff --git a/packages/next/server/on-demand-entry-handler.ts b/packages/next/server/on-demand-entry-handler.ts index c54ec4db24845..53ce4197cc22a 100644 --- a/packages/next/server/on-demand-entry-handler.ts +++ b/packages/next/server/on-demand-entry-handler.ts @@ -366,8 +366,6 @@ export default function onDemandEntryHandler( req.on('close', () => { clearInterval(pingInterval) }) - // Do initial ping right after EventSource is finished being set up - setImmediate(() => runPing()) next() } }