Skip to content

Improvements to caching middleware#1742

Merged
iamdefinitelyahuman merged 2 commits intomasterfrom
fix-cache
Feb 12, 2024
Merged

Improvements to caching middleware#1742
iamdefinitelyahuman merged 2 commits intomasterfrom
fix-cache

Conversation

@iamdefinitelyahuman
Copy link
Copy Markdown
Member

What I did

Restart the block filter loop automatically if it crashes. This sometimes happens from a temporary loss of internet connection. previously you'd have to either restart brownie altogether, or web3.reset_middlewares()

How to verify it

I've been running brownie locally with these edits for a week or so now and it seems to work. Tried suspending my laptop a few times, as well as restarting my router to mess up the connection.

@iamdefinitelyahuman iamdefinitelyahuman merged commit 1ca4056 into master Feb 12, 2024
@iamdefinitelyahuman iamdefinitelyahuman deleted the fix-cache branch July 3, 2024 18:10
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