Skip to content

Commit

Permalink
Update fallback check
Browse files Browse the repository at this point in the history
  • Loading branch information
stwiname committed Dec 2, 2024
1 parent 87537f7 commit 41a74a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/query/src/graphql/graphql.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class GraphqlModule implements OnModuleInit, OnModuleDestroy {
}

private setupKeepAlive(pgClient: PoolClient) {
const interval = argv['sl-keep-alive-interval'] ?? 180000;
const interval = argv['sl-keep-alive-interval'] || 180000;
logger.info(`Setup PG Pool keep alive. interval ${interval} ms`);
setInterval(() => {
void (async () => {
Expand Down

0 comments on commit 41a74a4

Please sign in to comment.