Skip to content

Commit

Permalink
chore: upstash keepalive
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed Dec 12, 2023
1 parent 854864e commit a6c8dfb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/functions/poll-keepalive/index.ts
Expand Up @@ -29,7 +29,9 @@ export const handler: Handler = async (event) => {
};
}

const res = await upstash(`./hgetall/ping`);
await upstash(`./set/ping/${Date.now()}`);

const res = await upstash(`./get/ping`);
const json = await res.json();

if (
Expand Down

0 comments on commit a6c8dfb

Please sign in to comment.