-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.env
More file actions
28 lines (23 loc) · 991 Bytes
/
Copy pathsample.env
File metadata and controls
28 lines (23 loc) · 991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Bump Service Configuration
#
# Every BUMP_* variable below is optional and mirrors a default already
# defined in src/config.rs. Config loading now tolerates partial env (each
# field falls back to its own code default when unset), so you only need to
# set the ones you actually want to override — the values below match the
# built-in defaults and are provided as a reference / starting point.
# Matching parameters
BUMP_MAX_DISTANCE_METERS=250 # meters
BUMP_MAX_TIME_DIFF_MS=1500 # milliseconds (server-assigned timestamps need this headroom)
BUMP_DEFAULT_TTL_MS=500 # milliseconds
# Scoring weights (must sum to 1.0)
BUMP_TEMPORAL_WEIGHT=0.7
BUMP_SPATIAL_WEIGHT=0.3
# Maintenance
BUMP_CLEANUP_INTERVAL_MS=1000
BUMP_MAX_QUEUE_SIZE=1000
# Physical constants
BUMP_EARTH_RADIUS_METERS=6371000.0
# Optional integrations
# Server-side OpenWeather API key, used for weather-enriched matching data.
# Leave unset to disable the feature.
# BUMP_OPENWEATHER_KEY=