Skip to content

Commit

Permalink
watcher: adjust timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
panoel committed Mar 29, 2024
1 parent 4d244a1 commit c993464
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions common/src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export type Network = {
};
export type Mode = 'vaa' | 'ntt';

export const MISS_THRESHOLD_IN_MINS = 30;
export const MISS_THRESHOLD_LABEL = '30 minutes';
export const MISS_THRESHOLD_IN_MINS = 35;
export const MISS_THRESHOLD_LABEL = '35 minutes';

export const INITIAL_DEPLOYMENT_BLOCK_BY_NETWORK_AND_CHAIN: {
[key in Environment]: { [key in ChainName]?: string };
Expand Down
2 changes: 1 addition & 1 deletion watcher/src/databases/BigtableDatabase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
import { getSignedVAA } from '../utils/getSignedVAA';
import { PubSub } from '@google-cloud/pubsub';

const WATCH_MISSING_TIMEOUT = 5 * 60 * 1000;
const WATCH_MISSING_TIMEOUT = 2 * 60 * 1000;

export class BigtableDatabase extends Database {
msgTableId: string;
Expand Down

0 comments on commit c993464

Please sign in to comment.