diff --git a/src/api/_Slack.ts b/src/api/_Slack.ts index c9d7528..39dd434 100644 --- a/src/api/_Slack.ts +++ b/src/api/_Slack.ts @@ -4,7 +4,7 @@ import { slack } from './_constants'; import { getHeader, getRawBody, toHeaders } from './_util'; /** if true we'll echo debug information in slack, too */ -const DEBUG_LOG_TO_SLACK = true; +const DEBUG_LOG_TO_SLACK = false; /** See: https://api.slack.com/authentication/verifying-requests-from-slack */ export async function isValidSlackRequest(req: VercelRequest, signingSecret: string, logging = false) { diff --git a/src/api/_acks.ts b/src/api/_acks.ts index 6bbf327..a079ae3 100644 --- a/src/api/_acks.ts +++ b/src/api/_acks.ts @@ -7,11 +7,11 @@ const DEFAULT_CONCURRENCY = 3; const REDIS_ACK_KEY = 'acks'; -const REMINDER_FREQUENCY_MIN = 5; +const REMINDER_FREQUENCY_MIN = 1; const REMINDER_FREQUENCY_MS = REMINDER_FREQUENCY_MIN * 60 * 1000; -const DEBUG_CHECK_ALL = true; +const DEBUG_CHECK_ALL = false; export async function checkForRemindersSql() { const now = new Date().getTime();