Skip to content

Commit 7d6ed8b

Browse files
committed
Extends retry time to 2 mins and changes prod alarm channel
1 parent 90598a1 commit 7d6ed8b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/events/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class AppDiscord {
169169
channelIds.PROD.WIKI,
170170
) as TextChannel,
171171
prodAlertChannel: client.channels.cache.get(
172-
channelIds.PROD.WIKI,
172+
channelIds.PROD.ALARMS,
173173
) as TextChannel,
174174
}
175175

src/services/wikiUpdates.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default class WikiUpdates {
9696
const channelId =
9797
channelType === ChannelTypes.DEV
9898
? this.CHANNEL_IDS.DEV.WIKI
99-
: this.CHANNEL_IDS.PROD.WIKI
99+
: this.CHANNEL_IDS.PROD.ALARMS
100100

101101
const channel = client.channels.cache.get(channelId) as TextChannel
102102

@@ -301,9 +301,9 @@ export default class WikiUpdates {
301301
}
302302

303303
async startApiHealthMonitoring(): Promise<void> {
304-
const checkInterval = 60000
304+
const checkInterval = 120000 // 2 minutes
305305

306-
console.log('🔍 Starting API Health Monitoring - checking every 1 minute')
306+
console.log('🔍 Starting API Health Monitoring - checking every 2 minutes')
307307

308308
this.apiHealthStatus.set(ChannelTypes.DEV, {
309309
isHealthy: true,
@@ -344,7 +344,7 @@ export default class WikiUpdates {
344344
const channelId =
345345
channelType === ChannelTypes.DEV
346346
? this.CHANNEL_IDS.DEV.WIKI
347-
: this.CHANNEL_IDS.PROD.WIKI
347+
: this.CHANNEL_IDS.PROD.ALARMS
348348
const channel = client.channels.cache.get(channelId) as TextChannel
349349
if (channel) {
350350
await channel.send(

0 commit comments

Comments
 (0)