aboutsummaryrefslogtreecommitdiff
path: root/setup/default.xml
diff options
context:
space:
mode:
authorsoshial <soshial@gmail.com>2021-09-12 09:31:38 +0200
committersoshial <soshial@gmail.com>2021-09-12 09:31:38 +0200
commit7a3b106dfc28a6254825b8d664db8181f4bd19f1 (patch)
tree3380489441a1d7bef077a2bd5a898ebde0ede168 /setup/default.xml
parentd9ad81991da306dcae35bb6b7ba7f90c6d6b8725 (diff)
downloadtrackermap-server-7a3b106dfc28a6254825b8d664db8181f4bd19f1.tar.gz
trackermap-server-7a3b106dfc28a6254825b8d664db8181f4bd19f1.tar.bz2
trackermap-server-7a3b106dfc28a6254825b8d664db8181f4bd19f1.zip
improve naming and comments
Diffstat (limited to 'setup/default.xml')
-rw-r--r--setup/default.xml7
1 files changed, 1 insertions, 6 deletions
diff --git a/setup/default.xml b/setup/default.xml
index 54677d845..7ed3e35b2 100644
--- a/setup/default.xml
+++ b/setup/default.xml
@@ -22,7 +22,6 @@
<entry key='filter.enable'>true</entry>
<entry key='filter.future'>86400</entry>
- <entry key='filter.relative'>false</entry>
<entry key='event.ignoreDuplicateAlerts'>true</entry>
<entry key='processing.computedAttributes.enable'>true</entry>
@@ -53,14 +52,10 @@
SELECT * FROM tc_positions WHERE deviceId = :deviceId AND fixTime = :time LIMIT 1
</entry>
- <entry key='database.selectPrevPosition'>
+ <entry key='database.selectPrecedingPosition'>
SELECT * FROM tc_positions WHERE deviceId = :deviceId AND fixTime lte :time ORDER BY fixTime DESC LIMIT 1
</entry>
- <entry key='database.selectNextPosition'>
- SELECT * FROM tc_positions WHERE deviceId = :deviceId AND fixTime gt :time ORDER BY fixTime ASC LIMIT 1
- </entry>
-
<entry key='database.selectLatestPositions'>
SELECT tc_positions.* FROM tc_positions INNER JOIN tc_devices ON tc_positions.id = tc_devices.positionid;
</entry>