coyotte508 HF Staff commited on
Commit
daf0a04
·
1 Parent(s): e91bcc6

Disable eternal uptime

Browse files
Files changed (1) hide show
  1. server.ts +3 -3
server.ts CHANGED
@@ -160,9 +160,9 @@ run();
160
  const SPACE_ID = process.env.SPACE_ID || "huggingface-projects/twitter-alt-image-bot";
161
 
162
  // Keep space alive
163
- setInterval(() => {
164
- fetch(`https://${SPACE_ID.replace("/", "-")}.hf.space`);
165
- }, 24 * 3600 * 1000);
166
 
167
  const app = new Koa();
168
 
 
160
  const SPACE_ID = process.env.SPACE_ID || "huggingface-projects/twitter-alt-image-bot";
161
 
162
  // Keep space alive
163
+ // setInterval(() => {
164
+ // fetch(`https://${SPACE_ID.replace("/", "-")}.hf.space`);
165
+ // }, 24 * 3600 * 1000);
166
 
167
  const app = new Koa();
168