[core] Skip updating cache again when force update (#1127)
This commit is contained in:
parent
ec0dac1683
commit
fd2162bffa
|
|
@ -596,7 +596,9 @@ public class ConfigManager {
|
||||||
else
|
else
|
||||||
count = 0;
|
count = 0;
|
||||||
}
|
}
|
||||||
if (count > 0) {
|
// force update is because cache is already update to date
|
||||||
|
// skip caching again
|
||||||
|
if (!force && count > 0) {
|
||||||
// Called by oneway binder
|
// Called by oneway binder
|
||||||
updateCaches(true);
|
updateCaches(true);
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue