feat: add ability to specify a concurrency policy for crons in the app.json file

This commit is contained in:
Jose Diaz-Gonzalez
2025-09-21 18:00:07 -04:00
parent f61e6e60f4
commit d72c183d9e
2 changed files with 4 additions and 0 deletions

View File

@@ -60,6 +60,9 @@ type CronTask struct {
// Schedule is the cron schedule to execute the command on
Schedule string `json:"schedule"`
// ConcurrencyPolicy is the concurrency policy for the cron command
ConcurrencyPolicy string `json:"concurrency_policy"`
}
// Formation is a struct that represents the scale for a process from an app.json file