Skip to content

Commit

Permalink
Update packages/next/src/server/dev/hot-reloader-turbopack.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
  • Loading branch information
wbinnssmith and sokra authored Aug 7, 2024
1 parent 5454719 commit 8856b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/server/dev/hot-reloader-turbopack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const isTestMode = !!(
process.env.DEBUG
)

const sessionId = Math.round(Math.random() * 100 + Date.now())
const sessionId = Math.floor(Number.MAX_SAFE_INTEGER * Math.random())

export async function createHotReloaderTurbopack(
opts: SetupOpts,
Expand Down

0 comments on commit 8856b87

Please sign in to comment.