Spaces:
Running
Running
Commit
·
ad7098d
1
Parent(s):
0d87392
Add sleep
Browse files- proxy-renderer.js +1 -1
proxy-renderer.js
CHANGED
|
@@ -233,7 +233,7 @@ function renderChunk(
|
|
| 233 |
|
| 234 |
const proc = startChildProcess();
|
| 235 |
// sleep fo4 5 sec
|
| 236 |
-
await new Promise(resolve) => setTimeout(resolve, 5000)
|
| 237 |
axios.post('http://localhost:3000/api/render', renderOptions).then(resp => {
|
| 238 |
console.log('Studio started render', resp.data)
|
| 239 |
|
|
|
|
| 233 |
|
| 234 |
const proc = startChildProcess();
|
| 235 |
// sleep fo4 5 sec
|
| 236 |
+
await new Promise((resolve) => setTimeout(resolve, 5000));
|
| 237 |
axios.post('http://localhost:3000/api/render', renderOptions).then(resp => {
|
| 238 |
console.log('Studio started render', resp.data)
|
| 239 |
|