diff options
| author | Adam Soltys <[email protected]> | 2026-09-21 19:44:24 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-21 19:44:24 -0700 |
| commit | 6186159954646b92f1efdbb5c8f0ffa26e29e0ab (patch) | |
| tree | 6d78cfb13bdafb079c8bac80710fbd7536e2d7a6 /lib/upload.js.map | |
| parent | 23c8b11bd3c1dee56781cc83e65e077409c0858e (diff) | |
| download | coinos-server-6186159954646b92f1efdbb5c8f0ffa26e29e0ab.tar.gz coinos-server-6186159954646b92f1efdbb5c8f0ffa26e29e0ab.zip | |
parse: cache node aliases as a small map with a working timestamp
The alias cache stored the full listnodes output as an array and hung its
`last` stamp on that array, which JSON.stringify drops, and the refresh
condition was inverted besides. Net effect: every lightning send page view
refetched all ~16k nodes and rewrote ~10MB to the db. Keep only the
id→alias map with a real timestamp and refresh it hourly.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'lib/upload.js.map')
0 files changed, 0 insertions, 0 deletions
