Skip to content

Commit

Permalink
lower parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
cryi committed Jun 21, 2024
1 parent 0b9c683 commit 28bc695
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions constants/ogun.go → constants/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const (
OGUN_MINIMUM_DIFF_TOLERANCE = 1

RPC_INIT_BATCH_SIZE = 3
OGUN_DELEGATE_FETCH_BATCH_SIZE = 25
CONTRACT_FETCH_BATCH_SIZE = 200
OGUN_DELEGATE_FETCH_BATCH_SIZE = 8
CONTRACT_FETCH_BATCH_SIZE = 50

BALANCE_FETCH_RETRY_DELAY_SECONDS = 20
BALANCE_FETCH_RETRY_ATTEMPTS = 3
Expand Down
3 changes: 3 additions & 0 deletions containers/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ services:
ports:
- "127.0.0.1:8080:8080"
- "127.0.0.1:8081:8081"
environment:
LISTEN: 127.0.0.1:8080
PRIVATE_LISTEN: 127.0.0.1:8081
volumes:
- ./config.hjson:/config.hjson:ro
depends_on:
Expand Down

0 comments on commit 28bc695

Please sign in to comment.