🔇 disable logging
This commit is contained in:
parent
806b3198a1
commit
69c16dad46
1 changed files with 2 additions and 2 deletions
4
app.js
4
app.js
|
@ -48,9 +48,9 @@ app.listen(4000);
|
||||||
|
|
||||||
async function loop() {
|
async function loop() {
|
||||||
for (const space of spaces) {
|
for (const space of spaces) {
|
||||||
console.log(`Checking ${space.id}...`);
|
//console.log(`Checking ${space.id}...`);
|
||||||
let o = await checkSpace(space);
|
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)) {
|
if (o !== cache.get(space.id)) {
|
||||||
cache.set(space.id, o);
|
cache.set(space.id, o);
|
||||||
let update = await prisma.space.upsert({
|
let update = await prisma.space.upsert({
|
||||||
|
|
Loading…
Reference in a new issue