Skip to content

Commit

Permalink
Revert "context-free: Adjust randomInterval calculation for less freq…
Browse files Browse the repository at this point in the history
…uent posting"

This reverts commit 63b67a3.
  • Loading branch information
hakatashi committed May 7, 2024
1 parent 63b67a3 commit 55b89f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context-free/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const composePost = async (message: string): Promise<string> => {
};

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 () => {
Expand Down

0 comments on commit 55b89f7

Please sign in to comment.