| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b5901a0 commit c3429ab
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,7 +16,7 @@ function loop() { | |||
| 16 | 16 | while (1) { | |
| 17 | 17 | const current = hrtime(); | |
| 18 | 18 | const span = (current - start) / NS_PER_MS; | |
| 19 | - if (span >= 100n) { | ||
| 19 | + if (span >= 2000n) { | ||
| 20 | 20 | throw new Error( | |
| 21 | 21 | `escaped timeout at ${span} milliseconds!`); | |
| 22 | 22 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,7 +18,7 @@ function loop() { | |||
| 18 | 18 | while (1) { | |
| 19 | 19 | const current = hrtime(); | |
| 20 | 20 | const span = (current - start) / NS_PER_MS; | |
| 21 | - if (span >= 100n) { | ||
| 21 | + if (span >= 2000n) { | ||
| 22 | 22 | throw new Error( | |
| 23 | 23 | `escaped timeout at ${span} milliseconds!`); | |
| 24 | 24 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,7 +17,7 @@ function loop() { | |||
| 17 | 17 | while (1) { | |
| 18 | 18 | const current = hrtime(); | |
| 19 | 19 | const span = (current - start) / NS_PER_MS; | |
| 20 | - if (span >= 100n) { | ||
| 20 | + if (span >= 2000n) { | ||
| 21 | 21 | throw new Error( | |
| 22 | 22 | `escaped timeout at ${span} milliseconds!`); | |
| 23 | 23 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments