From 55b89f7e6880b6f4a84964a3ce0b697c06108c57 Mon Sep 17 00:00:00 2001 From: Koki Takahashi Date: Tue, 7 May 2024 20:39:57 +0000 Subject: [PATCH] Revert "context-free: Adjust randomInterval calculation for less frequent posting" This reverts commit 63b67a31400ff96163b70fb9ccf9628a8e158154. --- context-free/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context-free/index.ts b/context-free/index.ts index d15ad821..3deea84e 100644 --- a/context-free/index.ts +++ b/context-free/index.ts @@ -146,7 +146,7 @@ const composePost = async (message: string): Promise => { }; const randomInterval = () => - 1000 * 60 * (60 * 15 + (Math.random() - 0.5) * 2 * 60); + 1000 * 60 * (90 + (Math.random() - 0.5) * 2 * 60); export const server = ({eventClient, webClient: slack}: SlackInterface) => plugin(async (fastify) => { const postWord = async () => {