3v324v23 commited on
Commit
569f90a
·
1 Parent(s): bfc07a4

fix: set render concurrency to 1

Browse files
Files changed (1) hide show
  1. 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: Math.max(1, Math.floor(os.cpus().length / 2)),
 
 
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
  };