Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
43afa34
1
Parent(s):
ce7f582
ok
Browse files- src/main.mts +3 -3
src/main.mts
CHANGED
@@ -31,10 +31,10 @@ export const main = async () => {
|
|
31 |
}))
|
32 |
|
33 |
if (somethingFailed) {
|
34 |
-
console.error(`one of the jobs failed: ${somethingFailed}, let's wait
|
35 |
-
setTimeout(() => { main() },
|
36 |
} else {
|
37 |
-
console.log(`successfully worked on the jobs, let's immediately loop`)
|
38 |
setTimeout(() => { main() }, 50)
|
39 |
}
|
40 |
|
|
|
31 |
}))
|
32 |
|
33 |
if (somethingFailed) {
|
34 |
+
console.error(`one of the jobs failed: ${somethingFailed}, let's wait 5 seconds`)
|
35 |
+
setTimeout(() => { main() }, 5000)
|
36 |
} else {
|
37 |
+
// console.log(`successfully worked on the jobs, let's immediately loop`)
|
38 |
setTimeout(() => { main() }, 50)
|
39 |
}
|
40 |
|