aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/DeviceManager.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-07-20 15:57:15 +0500
committerAbyss777 <abyss@fox5.ru>2016-07-20 15:57:15 +0500
commit56784bd167ddf0bbc124269519b7a93b346bd5cc (patch)
tree44b6ec5bcdf21990a3aff61a2cd556db0e8f463b /src/org/traccar/database/DeviceManager.java
parent32a7fe7eb22d435906b65f91c37751ece4fea828 (diff)
downloadtrackermap-server-56784bd167ddf0bbc124269519b7a93b346bd5cc.tar.gz
trackermap-server-56784bd167ddf0bbc124269519b7a93b346bd5cc.tar.bz2
trackermap-server-56784bd167ddf0bbc124269519b7a93b346bd5cc.zip
Change order cache initialization
Diffstat (limited to 'src/org/traccar/database/DeviceManager.java')
-rw-r--r--src/org/traccar/database/DeviceManager.java2
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);
}