mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 09:38:54 +00:00
fix(tours): translate the ferrata badge everywhere, count the tile cache writes as standalone, settle the new test warnings
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user