This website requires JavaScript.
Explore
Help
Register
Sign in
jacs
/
cup
Watch
1
Star
0
Fork
You've already forked cup
0
forked from
goffee/cup
Code
Pull requests
Activity
79
commits
4
branches
9
tags
4.3
MiB
a5a9f4ba50
Commit graph
4 commits
Author
SHA1
Message
Date
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
Zeni Kim
43f3ad986e
fix user id, seed data autority
2024-12-16 20:05:37 -05:00
Zeni Kim
cac2986b59
authority system start
2024-12-14 22:38:06 -05:00
Zeni Kim
6dc72d3e14
first commits 3
2024-09-12 18:15:38 -05:00