1
0
Fork 0
forked from goffee/cup
cup/controllers
2026-06-13 18:59:06 -05:00
..
adminusers.go update to new core session system 2026-05-18 15:51:12 -05:00
authentication.go update to new core session system 2026-05-18 15:54:37 -05:00
home.go recover basic login demo paths 2026-05-16 10:55:02 -05:00
queuesample.go queue system settings expanded. Update debug to goffee log system 2026-05-18 22:37:26 -05:00
schedsample.go 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