cschleiden / go-workflows

Embedded durable workflows for Golang similar to DTFx/Cadence/Temporal
https://cschleiden.github.io/go-workflows/
MIT License
233 stars 49 forks source link

Add limit on max number of events per workflow instance #207

Open cschleiden opened 1 year ago

cschleiden commented 1 year ago

To prevent runaway workflows from creating histories that are too big for the backends to handle, introduce a hard limit on the number of events per workflow instance. Fail the workflow if it reaches that # of events.