Skip to content

Commit

Permalink
one minute
Browse files Browse the repository at this point in the history
  • Loading branch information
rmnoon committed Jun 21, 2022
1 parent 81c9af2 commit 5e2afb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/api/_Slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions src/api/_acks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

1 comment on commit 5e2afb9

@vercel
Copy link

@vercel vercel bot commented on 5e2afb9 Jun 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ackbot – ./

ackbot.vercel.app
ackbot-rmnoon.vercel.app
ackbot-git-main-rmnoon.vercel.app

Please sign in to comment.