Skip to content

Commit 4e2bc12

Browse files
committed
run alerts once an hour
1 parent cf57f8e commit 4e2bc12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sync/alerts/trigger/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ export const CURRENCY_TO_BALANCE_CHECKER = {
2424

2525
export const CURRENCY_CONFIG = {
2626
[Currency.USDC]: { symbol: '$', decimalsExternal: 2, decimalsInternal: 6 },
27-
[Currency.ETH]: { symbol: 'ETH', decimalsExternal: 4, decimalsInternal: 18 },
27+
[Currency.ETH]: { symbol: '', decimalsExternal: 4, decimalsInternal: 18 },
2828
};

sync/alerts/trigger/sync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { BALANCE_MONITORS, CURRENCY_TO_BALANCE_CHECKER } from './config';
44

55
export const balanceMonitor = schedules.task({
66
id: 'balance-monitor',
7-
cron: '*/5 * * * *',
7+
cron: '0 * * * *',
88
run: async () => {
99
for (const monitor of BALANCE_MONITORS) {
1010
const monitorId = monitor.address + ':' + monitor.chain.id;

0 commit comments

Comments
 (0)