Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions cmd/watcher/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,16 +147,8 @@ func main() { //nolint:funlen
blockTicker.Run,
mempoolTicker.Run,
//
func(ctx context.Context) error {
defer close(txIDChan)

return txIDWorker.Run(ctx)
},
func(ctx context.Context) error {
defer close(blockChan)

return blockTransactionWorker.Run(ctx)
},
txIDWorker.Run,
blockTransactionWorker.Run,
)
}

Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ x-app-env: &app-env
GOMAXPROCS: 1
WATCHER_APP_LOG_LEVEL: debug

WATCHER_METRICS_PORT: 9090

WATCHER_DB_HOST: postgres
WATCHER_DB_PORT: 5432
WATCHER_DB_USER: watcher_db_user
Expand Down
Loading