Skip to content

Commit 9991192

Browse files
committed
run ccip every hour
1 parent 605bcb3 commit 9991192

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/handlers/runCCIP.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const _handler = async (options: HandlerOptions = {}): Promise<void> => {
137137
amount: event.amount,
138138
is_deposit: event.is_deposit,
139139
is_usd_volume: event.is_usd_volume,
140-
tx_block: null,
140+
tx_block: 0,
141141
txs_counted_as: null,
142142
origin_chain: null,
143143
})).filter((tx) => !!tx.bridge_id);

src/server/cron.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,7 @@ const cron = () => {
9595
runEvery("runRelay", 30, runRelay);
9696
runEvery("runCashmere", 30, runCashmere);
9797
runEvery("runTeleswap", 30, runTeleswap);
98-
99-
if (new Date().getHours() === 0) {
100-
runEvery("runCCIP", 30, runCCIP);
101-
}
98+
runEvery("runCCIP", 30, runCCIP);
10299

103100
exit();
104101
};

0 commit comments

Comments
 (0)