Timer Clean-Up on Workflow Completion


I’m curious, when a workflow creates a timer, and then the workflow completes before the timer is fired, does Temporal clean up the timer from its systems? I’m wondering if there could be a problem where timers are created for a certain time (e.g. 2024-01-01 00:00) across many workflows that complete (i.e. 10,000,000 of them). What would happen at 2024-01-01 00:00 to the Temporal system?



There will be an additional load on the system to go over those timers for some time.

1 Like