🔇 disable logging

This commit is contained in:
ryzetech 2023-01-19 08:39:38 +01:00
parent 806b3198a1
commit 69c16dad46

4
app.js
View file

@ -48,9 +48,9 @@ app.listen(4000);
async function loop() {
for (const space of spaces) {
console.log(`Checking ${space.id}...`);
//console.log(`Checking ${space.id}...`);
let o = await checkSpace(space);
console.log(`Space ${space.id} is ${o ? "open" : "closed"}`);
//console.log(`Space ${space.id} is ${o ? "open" : "closed"}`);
if (o !== cache.get(space.id)) {
cache.set(space.id, o);
let update = await prisma.space.upsert({