Spaces:
Sleeping
Sleeping
fix: set render concurrency to 1
Browse files- src/render.ts +3 -1
src/render.ts
CHANGED
|
@@ -16,7 +16,9 @@ const COMPOSITION_ID = 'VEditor';
|
|
| 16 |
|
| 17 |
// Configuration
|
| 18 |
const CONFIG = {
|
| 19 |
-
concurrency
|
|
|
|
|
|
|
| 20 |
verbose: false,
|
| 21 |
timeoutMs: 300000, // 5 minutes
|
| 22 |
};
|
|
|
|
| 16 |
|
| 17 |
// Configuration
|
| 18 |
const CONFIG = {
|
| 19 |
+
// Set concurrency to 1 to ensure stability in container environments
|
| 20 |
+
// os.cpus() can report host cores which are not accessible
|
| 21 |
+
concurrency: 1,
|
| 22 |
verbose: false,
|
| 23 |
timeoutMs: 300000, // 5 minutes
|
| 24 |
};
|