Commit Graph

6 Commits

Author SHA1 Message Date
6956fe4ee1
feat: capture runtime status from cgroups
pkg/pool: task is now available to return interface{} as result
pkg/pool: use atomic instead of mutex
service/runner: ContainerRun will return metrics
2024-02-15 12:53:57 +08:00
edd297ada2
chore: pool.WaitForTask should return typed error 2024-01-28 22:02:26 +08:00
6965435cb7
feat: compile and new_problem are queued by pool (#7) 2024-01-28 18:16:04 +08:00
b5d14d5a4b
fix: deadlock in pool 2024-01-06 21:03:30 +08:00
97564af275
chore: pool: do not export MarkTaskComplete 2024-01-06 14:05:52 +08:00
cfeaaacc69
feat: add a simple task pool 2024-01-06 01:50:20 +08:00