I believe they were asking about whether time advances when a setInterval callback is triggered (tim
I believe they were asking about whether time advances when a setInterval callback is triggered (time is locked except for I/O in Workers)
Date.now() every 1000 ms via setInterval()Date.now()?setInterval(). changes are made in memory and periodically synced to the databaseDate.now()?Date.now() is stale? or are the callbacks just getting executed less frequently than expected?workerd is queuing the setInterval() callbacks. At the moment the interval is added to the queue, it's using that frozen Date.now() time for that microtask, but then they sit in the queue a while. So then once the queue is unblocked, they all run very quickly and you see time as though it is "fast-forwarding"