Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disableCache running out of order #1162

Merged
merged 1 commit into from
Oct 13, 2024
Merged

fix: disableCache running out of order #1162

merged 1 commit into from
Oct 13, 2024

Conversation

kyscott18
Copy link
Collaborator

Description

The disableCache option is applied out of order. It needs to be run before historicalSync.start because this is where the cache is read.

Currently, the disableCache option is applied after historicalSync.start, causing the cache progress to be recorded, then the cache to be pruned, which would cause the app to start from the wrong spot and eventually events to be missed.

@kyscott18 kyscott18 merged commit 205f9a2 into main Oct 13, 2024
8 checks passed
@kyscott18 kyscott18 deleted the kjs/disable-cache branch October 13, 2024 00:09
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