aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
Diffstat (limited to 'setup')
-rw-r--r--setup/unix/traccar.xml12
-rw-r--r--setup/windows/traccar.xml12
2 files changed, 8 insertions, 16 deletions
diff --git a/setup/unix/traccar.xml b/setup/unix/traccar.xml
index a27c9790b..22b71e204 100644
--- a/setup/unix/traccar.xml
+++ b/setup/unix/traccar.xml
@@ -17,12 +17,12 @@
<entry key='logger.level'>all</entry>
<entry key='logger.file'>/opt/traccar/logs/tracker-server.log</entry>
- <entry key='event.suppressrepeated'>60</entry>
+ <entry key='event.suppressRepeated'>60</entry>
- <entry key='event.overspeedhandler'>true</entry>
- <entry key='event.globalspeedlimit'>90</entry>
+ <entry key='event.overspeedHandler'>true</entry>
+ <entry key='event.globalSpeedLimit'>90</entry>
- <entry key='event.motionhandler'>true</entry>
+ <entry key='event.motionHandler'>true</entry>
<!-- DATABASE CONFIG -->
@@ -185,10 +185,6 @@
SELECT * FROM events WHERE deviceId = :deviceId AND type LIKE :type AND eventTime BETWEEN :from AND :to ORDER BY eventTime DESC;
</entry>
- <entry key='database.selectLastEvents'>
- SELECT * FROM events WHERE deviceId = :deviceId AND type LIKE :type AND eventTime >= NOW() - INTERVAL :interval SECOND ORDER BY eventTime DESC;
- </entry>
-
<!-- PROTOCOL CONFIG -->
<entry key='gps103.port'>5001</entry>
diff --git a/setup/windows/traccar.xml b/setup/windows/traccar.xml
index d60640375..649c3bb15 100644
--- a/setup/windows/traccar.xml
+++ b/setup/windows/traccar.xml
@@ -17,12 +17,12 @@
<entry key='logger.level'>all</entry>
<entry key='logger.file'>[LOG]</entry>
- <entry key='event.suppressrepeated'>60</entry>
+ <entry key='event.suppressRepeated'>60</entry>
- <entry key='event.overspeedhandler'>true</entry>
- <entry key='event.globalspeedlimit'>90</entry>
+ <entry key='event.overspeedHandler'>true</entry>
+ <entry key='event.globalSpeedLimit'>90</entry>
- <entry key='event.motionhandler'>true</entry>
+ <entry key='event.motionHandler'>true</entry>
<!-- DATABASE CONFIG -->
@@ -185,10 +185,6 @@
SELECT * FROM events WHERE deviceId = :deviceId AND type LIKE :type AND eventTime BETWEEN :from AND :to ORDER BY eventTime DESC;
</entry>
- <entry key='database.selectLastEvents'>
- SELECT * FROM events WHERE deviceId = :deviceId AND type LIKE :type AND eventTime >= NOW() - INTERVAL :interval SECOND ORDER BY eventTime DESC;
- </entry>
-
<!-- PROTOCOL CONFIG -->
<entry key='gps103.port'>5001</entry>