Skip to content

Commit c993464

Browse files
committed
watcher: adjust timeouts
1 parent 4d244a1 commit c993464

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

common/src/consts.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ export type Network = {
4141
};
4242
export type Mode = 'vaa' | 'ntt';
4343

44-
export const MISS_THRESHOLD_IN_MINS = 30;
45-
export const MISS_THRESHOLD_LABEL = '30 minutes';
44+
export const MISS_THRESHOLD_IN_MINS = 35;
45+
export const MISS_THRESHOLD_LABEL = '35 minutes';
4646

4747
export const INITIAL_DEPLOYMENT_BLOCK_BY_NETWORK_AND_CHAIN: {
4848
[key in Environment]: { [key in ChainName]?: string };

watcher/src/databases/BigtableDatabase.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
import { getSignedVAA } from '../utils/getSignedVAA';
2727
import { PubSub } from '@google-cloud/pubsub';
2828

29-
const WATCH_MISSING_TIMEOUT = 5 * 60 * 1000;
29+
const WATCH_MISSING_TIMEOUT = 2 * 60 * 1000;
3030

3131
export class BigtableDatabase extends Database {
3232
msgTableId: string;

0 commit comments

Comments
 (0)