Skip to content

Conversation

@daywalker90
Copy link
Collaborator

In an effort to get the tests passing again i had to either mock the esplora responses or make the plugin and test framework respect esplora's rate limit.

I decided to do the latter and add a global file based cache to reduce requests for the same URL in the cache's TTL.

The global fetch lock is needed for the race condition of same URL requests that happen often during multiple CLN node startups.

Please let me know what you think.

I'm tagging some of the original sauron authors (looking at the commit history):
@darosior @Amperstrand @chrisguida @russnes @ca-ruz @iorch @sip-21

@daywalker90 daywalker90 force-pushed the sauron-cache-fetch-lock branch from a864ed0 to 0e83ded Compare January 19, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant