You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modify the value of the time configuration item to 0
# etc/services/dtl.yaml
sed -i '' 's/DATA_TRANSPORT_LAYER__L1_POLLING_INTERVAL: 10000/DATA_TRANSPORT_LAYER__L1_POLLING_INTERVAL: 0/' etc/services/dtl.yaml
sed -i '' 's/DATA_TRANSPORT_LAYER__L2_POLLING_INTERVAL: 100/DATA_TRANSPORT_LAYER__L2_POLLING_INTERVAL: 0/' etc/services/dtl.yaml
run rde
Check whether the configuration is effective through logs
Expected behavior
Service startup failed or default values used
Screenshots
cat local/logs/dtl.log |grep "start waiting for sync l1\|finished waiting for sync l1\|Sync l1 block time duration from Layer 1 (Ethereum)"
{"level":30,"time":1689806152109,"l1PollingInterval":0,"msg":"Sync l1 block time duration from Layer 1 (Ethereum)"}
{"level":30,"time":1689806152109,"timestamp":1689806152000,"msg":"start waiting for sync l1"}
{"level":30,"time":1689806152110,"timestamp":1689806152000,"msg":"finished waiting for sync l1"}
{"level":30,"time":1689806152113,"l1PollingInterval":0,"msg":"Sync l1 block time duration from Layer 1 (Ethereum)"}
{"level":30,"time":1689806152113,"timestamp":1689806152000,"msg":"start waiting for sync l1"}
{"level":30,"time":1689806152117,"timestamp":1689806152000,"msg":"finished waiting for sync l1"}
cat local/logs/dtl.log |grep "start waiting for sync l2\|finished waiting for sync l2\|Sync l2 transaction time duration from Layer 2 (Mantle)"
{"level":30,"time":1689806072965,"l2PollingInterval":0,"msg":"Sync l2 transaction time duration from Layer 2 (Mantle)"}
{"level":30,"time":1689806072965,"timestamp":1689806072000,"msg":"start waiting for sync l2"}
{"level":30,"time":1689806072967,"timestamp":1689806072000,"msg":"finished waiting for sync l2"}
{"level":30,"time":1689806072969,"l2PollingInterval":0,"msg":"Sync l2 transaction time duration from Layer 2 (Mantle)"}
{"level":30,"time":1689806072971,"timestamp":1689806072000,"msg":"start waiting for sync l2"}
{"level":30,"time":1689806072972,"timestamp":1689806072000,"msg":"finished waiting for sync l2"}
The text was updated successfully, but these errors were encountered:
Describe the bug
There is no non zero judgment for the time configuration item
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Service startup failed or default values used
Screenshots
The text was updated successfully, but these errors were encountered: