Skip to content

Commit

Permalink
Get back to initial values, reduce init window
Browse files Browse the repository at this point in the history
  • Loading branch information
dcadenas committed Sep 12, 2024
1 parent 4f561f6 commit 0462949
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions service/app/handler_process_saved_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ var (
pushToRelayFilter = NewEventFilter(
internal.Pointer(900*time.Second),
nil,
internal.Pointer(196608),
internal.Pointer(3000),
internal.Pointer(65536),
internal.Pointer(1024),
)
)

Expand Down
2 changes: 1 addition & 1 deletion service/domain/downloader/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
const (
sendOutTasksEvery = 100 * time.Millisecond

initialWindowAge = 1 * time.Hour
initialWindowAge = 15 * time.Minute
windowSize = 1 * time.Minute

timeWindowTaskConcurrency = 1
Expand Down

0 comments on commit 0462949

Please sign in to comment.