aboutsummaryrefslogtreecommitdiff
path: root/debug.xml
diff options
context:
space:
mode:
Diffstat (limited to 'debug.xml')
-rw-r--r--debug.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/debug.xml b/debug.xml
index 2bd96021f..346eda292 100644
--- a/debug.xml
+++ b/debug.xml
@@ -47,6 +47,7 @@
<entry key='event.globalSpeedLimit'>90</entry>
<entry key='event.motionHandler'>true</entry>
<entry key='event.geofenceHandler'>true</entry>
+ <entry key='event.alertHandler'>true</entry>
<!--<entry key='event.forward.enable'>true</entry>
<entry key='event.forward.url'>http://localhost/</entry>
@@ -83,6 +84,8 @@
<entry key='database.changelog'>./schema/changelog-master.xml</entry>
+ <entry key='database.positionsHistoryDays'>7</entry>
+
<entry key='database.selectServers'>
SELECT * FROM server;
</entry>
@@ -320,6 +323,10 @@
DELETE FROM notifications WHERE id = :id;
</entry>
+ <entry key='database.clearPositionsHistory'>
+ DELETE FROM positions WHERE id != :positionId and deviceid = :deviceId and servertime &lt; :serverTime;
+ </entry>
+
<!-- PROTOCOL CONFIG -->
<entry key='gps103.port'>5001</entry>