Commit 6402be6
fix: use process.nextTick instead of setImmediate for background revalidation
setImmediate doesn't work properly with fake timers in tests, causing
background revalidation to not trigger. process.nextTick works correctly
with both real time and fake timers.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>1 parent 1650483 commit 6402be6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| |||
0 commit comments