summaryrefslogtreecommitdiff
path: root/internal/schedule
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-11-03 08:01:06 +0200
committerPaul Buetow <paul@buetow.org>2024-11-03 08:01:06 +0200
commit81af1067ef8bde2ed94d189bd1a6d67641c6c639 (patch)
tree1ccc5254f3088d5e13058f7c452a29300d53ef70 /internal/schedule
parent21a5f90ea1187a064fdcc415230561ee47c2cf9a (diff)
more ideas
Diffstat (limited to 'internal/schedule')
-rw-r--r--internal/schedule/schedule.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/schedule/schedule.go b/internal/schedule/schedule.go
index ee3abc3..45901ff 100644
--- a/internal/schedule/schedule.go
+++ b/internal/schedule/schedule.go
@@ -20,6 +20,7 @@ var (
ErrNothingQueued = errors.New("nothing queued")
)
+// TODO: Schedule more than N entries per week when the backlog of queued items is large enough.
func Run(args config.Args, platform string) (entry.Entry, error) {
dir := fmt.Sprintf("%s/db/platforms/%s", args.GosDir, strings.ToLower(platform))
stats, err := newStats(dir, args.Lookback, args.Target)