diff options
author | Abyss777 <abyss@fox5.ru> | 2016-07-20 15:57:15 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-07-20 15:57:15 +0500 |
commit | 56784bd167ddf0bbc124269519b7a93b346bd5cc (patch) | |
tree | 44b6ec5bcdf21990a3aff61a2cd556db0e8f463b /src/org/traccar/database | |
parent | 32a7fe7eb22d435906b65f91c37751ece4fea828 (diff) | |
download | traccar-server-56784bd167ddf0bbc124269519b7a93b346bd5cc.tar.gz traccar-server-56784bd167ddf0bbc124269519b7a93b346bd5cc.tar.bz2 traccar-server-56784bd167ddf0bbc124269519b7a93b346bd5cc.zip |
Change order cache initialization
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r-- | src/org/traccar/database/DeviceManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/DeviceManager.java b/src/org/traccar/database/DeviceManager.java index b6cb8c65f..43d83d078 100644 --- a/src/org/traccar/database/DeviceManager.java +++ b/src/org/traccar/database/DeviceManager.java @@ -60,8 +60,8 @@ public class DeviceManager implements IdentityManager { dataRefreshDelay = config.getLong("database.refreshDelay", DEFAULT_REFRESH_DELAY) * 1000; if (dataManager != null) { try { - updateDeviceCache(true); updateGroupCache(true); + updateDeviceCache(true); for (Position position : dataManager.getLatestPositions()) { positions.put(position.getDeviceId(), position); } |