Skip to content

Commit 0cdc6c5

Browse files
committed
cloud_functions: change alarm time
1 parent 3ee595d commit 0cdc6c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud_functions/src/alarmFastTransfer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ async function getDelayedOrders(): Promise<DisplayRow[]> {
101101
.from('market_orders AS mo')
102102
.join('fast_transfer_executions AS fte', 'mo.fast_vaa_hash', '=', 'fte.fast_vaa_hash')
103103
.where('mo.market_order_timestamp', '>=', pg.raw("NOW() - INTERVAL '30 MINUTES'")) // Get orders from last 30 minutes
104-
.andWhereRaw('EXTRACT(EPOCH FROM (fte.execution_time - mo.market_order_timestamp)) > 20000')
104+
.andWhereRaw('EXTRACT(EPOCH FROM (fte.execution_time - mo.market_order_timestamp)) > 20')
105105
.orderBy('mo.market_order_timestamp', 'desc');
106106

107107
console.log('result', result);

0 commit comments

Comments
 (0)