fix(tours): translate the ferrata badge everywhere, count the tile cache writes as standalone, settle the new test warnings

This commit is contained in:
Maurice
2026-10-14 20:34:20 +02:00
parent 62b50e3f9b
commit d87e276831
18 changed files with 45 additions and 34 deletions
@@ -186,6 +186,9 @@ export class FerratasService {
* One Overpass query for `keys`, shared with every request that needs one of
* them until it settles. It runs in a request context of its own: it can
* outlive the request that started it.
*
* @txStandalone a cache fill: each block is stored whole in its own
* transaction after its own Overpass answer, and a lost one is asked again.
*/
private batch(keys: readonly string[], now: number): TileBatch {
const run = withRequestContext(this.orm, () => this.fetchAndStore(keys, now));