File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ if (process.argv[2] === 'child') {
7777 // When not tracking Worker threads, only 1 or 2 ticks would
7878 // have been recorded.
7979 // prof_sampling_interval is by default 1 millisecond. A higher SPIN_MS
80- // should result in more ticks, while 15 should be safe on most machines.
81- assert ( workerTicks . length > 15 , `worker ticks <= 15 :\n${ workerTicks . join ( '\n' ) } ` ) ;
82- assert ( parentTicks . length > 15 , `parent ticks <= 15 :\n${ parentTicks . join ( '\n' ) } ` ) ;
80+ // should result in more ticks, while 10 should be safe on most machines.
81+ assert ( workerTicks . length > 10 , `worker ticks <= 10 :\n${ workerTicks . join ( '\n' ) } ` ) ;
82+ assert ( parentTicks . length > 10 , `parent ticks <= 10 :\n${ parentTicks . join ( '\n' ) } ` ) ;
8383}
You can’t perform that action at this time.
0 commit comments