Imagine situation, when new cloud functions are deployed. It takes approx 20 seconds to fully load and continue working.
Lets say that I have to sync event - “itemCreated”
For that 20 seconds, itemCreated may happen and afterSave functions will not run for those elements in collection after server start.
This problem is also active for hystorical events. For them, after save will not run.
What is workaround for this situation? Is there any advice you can give?