Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
18c122de
Unverified
Commit
18c122de
authored
Apr 11, 2021
by
Georgios Konstantopoulos
Committed by
GitHub
Apr 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: tune down poll intervals (#46)
parent
42932378
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
3 deletions
+7
-3
utils.ts
integration-tests/test/shared/utils.ts
+2
-0
docker-compose.yml
ops/docker-compose.yml
+2
-0
batches.env
ops/envs/batches.env
+1
-1
dtl.env
ops/envs/dtl.env
+1
-1
geth.env
ops/envs/geth.env
+1
-1
No files found.
integration-tests/test/shared/utils.ts
View file @
18c122de
...
...
@@ -20,11 +20,13 @@ const l1HttpPort = 9545
export
const
l1Provider
=
new
providers
.
JsonRpcProvider
(
`http://localhost:
${
l1HttpPort
}
`
)
l1Provider
.
pollingInterval
=
10
const
httpPort
=
8545
export
const
l2Provider
=
new
providers
.
JsonRpcProvider
(
`http://localhost:
${
httpPort
}
`
)
l2Provider
.
pollingInterval
=
10
// The sequencer private key which is funded on L1
export
const
l1Wallet
=
new
Wallet
(
...
...
ops/docker-compose.yml
View file @
18c122de
...
...
@@ -106,3 +106,5 @@ services:
# a funded hardhat account
L1_WALLET_KEY
:
"
0xdbda1821b80551c9d65939329250298aa3472ba22feea921c0cf5d620ea67b97"
RETRIES
:
60
POLLING_INTERVAL
:
500
GET_LOGS_INTERVAL
:
500
ops/envs/batches.env
View file @
18c122de
...
...
@@ -7,7 +7,7 @@ MIN_L1_TX_SIZE=0
MAX_TX_BATCH_COUNT=50
MAX_STATE_BATCH_COUNT=50
POLL_INTERVAL=
150
00
POLL_INTERVAL=
5
00
NUM_CONFIRMATIONS=0
RESUBMISSION_TIMEOUT=1000000
FINALITY_CONFIRMATIONS=0
...
...
ops/envs/dtl.env
View file @
18c122de
...
...
@@ -4,7 +4,7 @@ DATA_TRANSPORT_LAYER__DB_PATH=/db
DATA_TRANSPORT_LAYER__SERVER_PORT=7878
DATA_TRANSPORT_LAYER__TRANSACTIONS_PER_POLLING_INTERVAL=1000
DATA_TRANSPORT_LAYER__CONFIRMATIONS=0
DATA_TRANSPORT_LAYER__POLLING_INTERVAL=
5
00
DATA_TRANSPORT_LAYER__POLLING_INTERVAL=
1
00
DATA_TRANSPORT_LAYER__LOGS_PER_POLLING_INTERVAL=2000
DATA_TRANSPORT_LAYER__DANGEROUSLY_CATCH_ALL_ERRORS=true
DATA_TRANSPORT_LAYER__SERVER_HOSTNAME=0.0.0.0
...
...
ops/envs/geth.env
View file @
18c122de
...
...
@@ -5,7 +5,7 @@ ETH1_CONFIRMATION_DEPTH=0
ROLLUP_CLIENT_HTTP=
ROLLUP_STATE_DUMP_PATH=
ROLLUP_POLL_INTERVAL_FLAG=
3
s
ROLLUP_POLL_INTERVAL_FLAG=
500m
s
RPC_ENABLE=true
RPC_ADDR=0.0.0.0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment