Skip to content

Commit be4f801

Browse files
committed
Run smoke tests for connectivity purposes
1 parent d51c309 commit be4f801

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ on:
1010
jobs:
1111
build-docker-images:
1212
if: >
13-
github.event.workflow_run.conclusion == 'success' &&
14-
github.event.workflow_run.head_branch == 'main'
13+
github.event.workflow_run.conclusion == 'success'
1514
runs-on: ubuntu-latest
1615

1716
steps:

api/src/infrastructure/provider/redis-client.provider.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { createClient, RedisClientType } from 'redis';
99

1010
@Injectable()
1111
export class RedisClientProvider implements OnModuleInit, OnModuleDestroy {
12+
private readonly RETRY_DELAY_SECONDS = 30_000;
1213
private client: RedisClientType | null = null;
1314

1415
constructor(private readonly configService: ConfigService) {}
@@ -52,7 +53,7 @@ export class RedisClientProvider implements OnModuleInit, OnModuleDestroy {
5253
return new Error('Stop retrying Redis');
5354
}
5455
Logger.warn('Redis reconnecting...', retries);
55-
return 30_000;
56+
return this.RETRY_DELAY_SECONDS;
5657
},
5758
},
5859
});

webapp/app/api/monitoring/route.ts

Whitespace-only changes.

0 commit comments

Comments
 (0)