Skip to content
This repository was archived by the owner on Dec 5, 2021. It is now read-only.

Commit 443349d

Browse files
Increase the waiting time to 10 mins (#495)
Co-authored-by: CAPtheorem <79423264+CAPtheorem@users.noreply.github.com>
1 parent 9673d4b commit 443349d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

ops_omgx/api/watcher-api/watcher_getL2CrossDomainMessage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ def watcher_getL2CrossDomainMessage(event, context):
6060
crossDomainMessageSendTime = transactionDataRaw[8]
6161
fastRelay = transactionDataRaw[11]
6262
if fastRelay == True:
63-
# Estimate time is 5 minutes
64-
crossDomainMessageEstimateFinalizedTime = int(crossDomainMessageSendTime) + 60 * 5
63+
# Estimate time
64+
crossDomainMessageEstimateFinalizedTime = int(crossDomainMessageSendTime) + int(config.get('ESTIMATE_FINIALIZED_TIME'))
6565
else:
6666
# Estimate time is 7 days
6767
crossDomainMessageEstimateFinalizedTime = int(crossDomainMessageSendTime) + 60 * 60 * 24 * 7

ops_omgx/api/watcher-api/watcher_getL2Transactions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ def watcher_getL2Transactions(event, context):
6464
crossDomainMessageSendTime = transactionDataRaw[8]
6565
fastRelay = transactionDataRaw[11]
6666
if fastRelay == True:
67-
# Estimate time is 5 minutes
68-
crossDomainMessageEstimateFinalizedTime = int(crossDomainMessageSendTime) + 60 * 5
67+
# Estimate time
68+
crossDomainMessageEstimateFinalizedTime = int(crossDomainMessageSendTime) + int(config.get('ESTIMATE_FINIALIZED_TIME'))
6969
else:
7070
# Estimate time is 7 days
7171
crossDomainMessageEstimateFinalizedTime = int(crossDomainMessageSendTime) + 60 * 60 * 24 * 7

0 commit comments

Comments
 (0)