Jose Cely
|
1a7fc564ff
|
scheduler
|
2026-06-23 18:15:08 -05:00 |
|
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 |
|
|
|
43f3ad986e
|
fix user id, seed data autority
|
2024-12-16 20:05:37 -05:00 |
|
|
|
cac2986b59
|
authority system start
|
2024-12-14 22:38:06 -05:00 |
|
|
|
6dc72d3e14
|
first commits 3
|
2024-09-12 18:15:38 -05:00 |
|