fixes lol
This commit is contained in:
parent
69c16dad46
commit
bd163f0ccb
1 changed files with 4 additions and 3 deletions
7
app.js
7
app.js
|
@ -25,7 +25,7 @@ let schema = buildSchema(`
|
|||
let root = {
|
||||
isOpen({ id }) {
|
||||
let open = cache.get(id);
|
||||
return { open };
|
||||
return open;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -40,8 +40,9 @@ app.listen(4000);
|
|||
|
||||
// CHECK LOOP
|
||||
(async function () {
|
||||
for await (const time of setInterval(config.checkperiod * 10)) {
|
||||
console.log("Checking for spaces...");
|
||||
await loop();
|
||||
for await (const time of setInterval(config.checkperiod * 1000)) {
|
||||
//console.log("Checking for spaces...");
|
||||
await loop();
|
||||
}
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue