Jose Cely
|
3d051e9617
|
Wires the scheduler into the cup application following the exact conventions of the Asynq queue integration. A new testmac/config/scheduler.go file provides GetSchedulerConfig() with enable flag, polling interval, and rate limit. A new testmac/register-scheduler.go file registers task handlers (send_email and flaky_task as samples) on the Schedulermux, creates the DB-backed store via core.ResolveGorm(), and launches the scheduler in a goroutine — only when EnableScheduler: true. The scheduler tables are migrated alongside other models in run-auto-migrations.go via db.AutoMigrate(&scheduler.QueueItem{}, &scheduler.ProcessedItem{}).
|
2026-06-13 18:59:06 -05:00 |
|
|
|
f4476d3e89
|
queue system settings expanded. Update debug to goffee log system
|
2026-05-18 22:37:26 -05:00 |
|
|
|
273b43f5e0
|
add config option to disable queues
|
2024-12-23 23:40:22 -05:00 |
|
|
|
9b61e1ccf9
|
TEMPLATE env vars
|
2024-09-23 18:11:13 -05:00 |
|
|
|
6dc72d3e14
|
first commits 3
|
2024-09-12 18:15:38 -05:00 |
|