Skip to content

Commit ee53ba9

Browse files
committed
Changed default values
1 parent a2078de commit ee53ba9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

termux-gps-tracking/receive-termux-data

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ config['DEFAULT'] = {
4545
# Discard data received too late by the server (seconds).
4646
'max_recv_delay_sec': str(3600 * 6),
4747
# Discard not fresh enough location data (seconds).
48-
'max_elapsed_location_sec': str(60 * 2),
48+
'max_elapsed_location_sec': str(60 * 5),
4949
'pg_connect': '',
5050
# Directory for writing GPX files.
51-
'home_dir': './'
51+
'home_dir': '.'
5252
}
5353
config.read(CONFIG_FILE)
5454
config['current'] = {}

termux-gps-tracking/receive-termux-data.ini.sample

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ max_recv_delay_sec = 21600
1919
; Android API may provide "last known" location data,
2020
; which is marked with its age (elapsed time).
2121
; Discard not fresh enough location data (seconds).
22-
max_elapsed_location_sec = 120
22+
max_elapsed_location_sec = 300
2323

2424
; Connect to PostgreSQL to store received positions.
2525
;pg_connect = host=127.0.1 user=dbusername password=dbpassword dbname=dbname

0 commit comments

Comments
 (0)