trieb-work / schemabase

The schemabase Integration framework to build custom data movers between different cloud services. Using BullMQ, Webhooks, Prisma Database and more
https://schemabase.app
MIT License
5 stars 2 forks source link

Workflow scheduling improvement #386

Open JannikZed opened 1 year ago

JannikZed commented 1 year ago

Why do workflows have such a long name: eci:pk_7f16573fece94114847dc81d3214eef4:pk_7c010ef855ed4b47881ae079efbb4999:ZohoSalesOrderSyncWorkflow we should not schedule workflows new on every worker restart. We should just keep names like eci:TENANT:ZohoSalesOrderSyncWorkflow and just re-schedule if missing.

Furthermore, scheduling should be more flexible and maybe a Bull Task as well, to run every hour.