Hi,
I want my trigger to run on every update event, but only execute the trigger function if more than X documents in the collection have updatedAt > lastSyncTime.

Can this condition be added in the match filter under advanced options, or is it limited to filtering based only on the change event (e.g. fullDocument, updateDescription, etc.)?

Also, is the 5-minute trigger function timeout fixed? What’s the recommended way to handle long-running jobs triggered this way?

Thanks!