mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-02 22:55:26 +02:00
[291738] [efs] repeated queries to RSEFileStoreImpl.fetchInfo() in short time-span should be reduced
This commit is contained in:
parent
d424875e62
commit
15bf487477
1 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ public class RSEFileStoreImpl extends FileStore
|
|||
|
||||
// to help with with performance issues when eclipse makes excessing fetchInfo calls
|
||||
private long _lastFetch = 0;
|
||||
private int _fetchWaitThreshold = 5000;
|
||||
private int _fetchWaitThreshold = 1000;
|
||||
|
||||
//cached IRemoteFile object: an Object to avoid early class loading
|
||||
private transient volatile IRemoteFile _remoteFile;
|
||||
|
@ -104,7 +104,7 @@ public class RSEFileStoreImpl extends FileStore
|
|||
_fetchWaitThreshold = Integer.parseInt(waitStr);
|
||||
}
|
||||
catch (Exception e){
|
||||
_fetchWaitThreshold = 5000;
|
||||
_fetchWaitThreshold = 1000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue