File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ -(void)configureWithTableView:(NSTableView *)inTableView {
3333 NSUserDefaults *defs = [NSUserDefaults standardUserDefaults ];
3434
3535 cpuQueue = [NSOperationQueue new ];
36- [cpuQueue setMaxConcurrentOperationCount: [defs integerForKey: @" RunConcurrentTasks " ]];
36+ [cpuQueue setMaxConcurrentOperationCount: [defs integerForKey: @" RunConcurrentFiles " ]];
3737
3838 dirWorkerQueue = [NSOperationQueue new ];
3939 [dirWorkerQueue setMaxConcurrentOperationCount: [defs integerForKey: @" RunConcurrentDirscans" ]];
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ - (void)applicationWillFinishLaunching:(NSNotification *)unused {
2828
2929 NSUInteger maxTasks = [[NSProcessInfo processInfo ] activeProcessorCount ];
3030
31- defs[@" RunConcurrentTasks " ] = @(maxTasks);
31+ defs[@" RunConcurrentFiles " ] = @(maxTasks);
3232 defs[@" RunConcurrentDirscans" ] = @((int )ceil ((double )maxTasks/3.9 ));
3333
3434 // Use lighter defaults on slower machines
Original file line number Diff line number Diff line change 4040 <true />
4141 <key >RunConcurrentDirscans </key >
4242 <integer >2 </integer >
43- <key >RunConcurrentTasks </key >
43+ <key >RunConcurrentFiles </key >
4444 <integer >4 </integer >
4545 <key >RunLowPriority </key >
4646 <true />
You can’t perform that action at this time.
0 commit comments