aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-07-25 08:59:36 +0500
committerAbyss777 <abyss@fox5.ru>2016-07-25 08:59:36 +0500
commitf6333c73fe8bdd0027bb16a715193e1587b934a2 (patch)
tree340e9f66b9c3891665a0284e4a3ca8c813d87827 /setup
parent866c3073ef48a24d86834a391a4d3d91209a6eed (diff)
downloadtrackermap-server-f6333c73fe8bdd0027bb16a715193e1587b934a2.tar.gz
trackermap-server-f6333c73fe8bdd0027bb16a715193e1587b934a2.tar.bz2
trackermap-server-f6333c73fe8bdd0027bb16a715193e1587b934a2.zip
- Move lastPosition update to the end of pipeline
- Optimize MotionEventHandler to do not use Device.motion - Remove Device.motion from model and database - some optimizations
Diffstat (limited to 'setup')
-rw-r--r--setup/unix/traccar.xml2
-rw-r--r--setup/windows/traccar.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/setup/unix/traccar.xml b/setup/unix/traccar.xml
index e8b29a296..90cb5f74e 100644
--- a/setup/unix/traccar.xml
+++ b/setup/unix/traccar.xml
@@ -119,7 +119,7 @@
</entry>
<entry key='database.updateDeviceStatus'>
- UPDATE devices SET status = :status, lastUpdate = :lastUpdate, motion = :motion WHERE id = :id;
+ UPDATE devices SET status = :status, lastUpdate = :lastUpdate WHERE id = :id;
</entry>
<entry key='database.deleteDevice'>
diff --git a/setup/windows/traccar.xml b/setup/windows/traccar.xml
index 6220263ef..25128a3e0 100644
--- a/setup/windows/traccar.xml
+++ b/setup/windows/traccar.xml
@@ -119,7 +119,7 @@
</entry>
<entry key='database.updateDeviceStatus'>
- UPDATE devices SET status = :status, lastUpdate = :lastUpdate, motion = :motion WHERE id = :id;
+ UPDATE devices SET status = :status, lastUpdate = :lastUpdate WHERE id = :id;
</entry>
<entry key='database.deleteDevice'>