mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
since we have background index updates, we can increase the amount of files in a refresh for which we need to show progress
This commit is contained in:
@@ -159,7 +159,7 @@ public class RefreshSessionImpl extends RefreshSession {
|
||||
final SyncSession syncSession = synchronizer.collectFilesToUpdate();
|
||||
int filesCount = syncSession.getFilesToUpdate().size();
|
||||
if (filesCount > 0) {
|
||||
boolean runWithProgress = !ApplicationManager.getApplication().isUnitTestMode() && filesCount > 5;
|
||||
boolean runWithProgress = !ApplicationManager.getApplication().isUnitTestMode() && filesCount > 50;
|
||||
if (runWithProgress) {
|
||||
Runnable process = new Runnable() {
|
||||
public void run() {
|
||||
|
||||
Reference in New Issue
Block a user