Update docker-compose.yaml and config.json for improved performance and configuration adjustments
- Bump Docker image version from 1.2.0 to 1.4.0 for enhanced functionality. - Modify config.json to change trail_head_blocks from 0 to 3, adjust snapshot_sync sleep from 3 to 1.5 seconds, and increase batch_size from 1800 to 10000, while adding sync_period of 10 seconds for better synchronization efficiency.
This commit is contained in:
parent
7d5889553d
commit
cccbc07db1
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
node:
|
node:
|
||||||
image: ritualnetwork/infernet-node:1.2.0
|
image: ritualnetwork/infernet-node:1.4.0
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:4000:4000"
|
- "0.0.0.0:4000:4000"
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
},
|
},
|
||||||
"chain": {
|
"chain": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"trail_head_blocks": 0,
|
"trail_head_blocks": 3,
|
||||||
"rpc_url": "###RPC_URL###",
|
"rpc_url": "###RPC_URL###",
|
||||||
"registry_address": "0x3B1554f346DFe5c482Bb4BA31b880c1C18412170",
|
"registry_address": "0x3B1554f346DFe5c482Bb4BA31b880c1C18412170",
|
||||||
"wallet": {
|
"wallet": {
|
||||||
@ -24,9 +24,10 @@
|
|||||||
},
|
},
|
||||||
"forward_stats": true,
|
"forward_stats": true,
|
||||||
"snapshot_sync": {
|
"snapshot_sync": {
|
||||||
"sleep": 3,
|
"sleep": 1.5,
|
||||||
"batch_size": 1800,
|
"batch_size": 10000,
|
||||||
"starting_sub_id": 100000
|
"starting_sub_id": 100000,
|
||||||
|
"sync_period": 10
|
||||||
},
|
},
|
||||||
"containers": [
|
"containers": [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user