mirror of
https://github.com/efiten/coredrive-rx.git
synced 2026-12-04 02:04:08 +00:00
Region discovery rode the discover clock, and discoverDecision short-circuits on `paused`, so a parked app never asked a single repeater. That is the wrong coupling: the pause exists because re-sampling the same spot adds nothing to coverage or RF data, but a repeater's declared region list is a property of that repeater, not of where we are standing — and the repeaters that matter most are often the ones you are parked next to. Give it its own 60s clock (the same rate the old round-parity scheme produced, so airtime is unchanged) evaluated independently of dec.fire. Stamp that clock on every evaluation rather than only on a successful ask: the tick asks once a second, so an evaluation that finds no candidate would otherwise re-enter — and re-log "no candidate" — every second instead of every minute. Field context this came from: the log showed asks stopping dead at "stationary — capture/upload paused". Separately, a repeater can also stay silent because simple_repeater rate-limits anon requests to 4 per 180s shared across all types and all requesters (MyMesh.cpp:861), which is why the busiest node in the mesh answers least often. Retrying is the only remedy for that, and this change is what makes retrying possible while parked.
28 lines
713 B
JSON
28 lines
713 B
JSON
{
|
|
"name": "coredrive-rx",
|
|
"version": "1.9.0",
|
|
"private": false,
|
|
"license": "GPL-3.0-or-later",
|
|
"type": "module",
|
|
"description": "Mobile RX coverage capture for CoreScope: BLE companion → MQTT (GPS + SNR/RSSI + multibyte)",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/efiten/coredrive-rx.git"
|
|
},
|
|
"homepage": "https://github.com/efiten/coredrive-rx#readme",
|
|
"bugs": "https://github.com/efiten/coredrive-rx/issues",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"test": "node --test",
|
|
"deploy": "bash deploy.sh"
|
|
},
|
|
"dependencies": {
|
|
"mqtt": "^5.10.1"
|
|
},
|
|
"devDependencies": {
|
|
"vite": "^5.4.0"
|
|
}
|
|
}
|