Skip to content

Commit

Permalink
Less aggressive task scheduling (#62)
Browse files Browse the repository at this point in the history
Most of the time there will be nothing to do anyway.
  • Loading branch information
boreq committed Dec 14, 2023
1 parent 1ea85c2 commit 6105ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/domain/downloader/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

const (
sendOutTasksEvery = 10 * time.Millisecond
sendOutTasksEvery = 100 * time.Millisecond

initialWindowAge = 1 * time.Hour
windowSize = 1 * time.Minute
Expand Down

0 comments on commit 6105ef9

Please sign in to comment.