-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat: cache mem sync mutations #1431
Conversation
Timings ({first_height, last_height, mutations cache size, |
ebd9edb
to
f4f361a
Compare
test/ae_mdw/sync/block_test.exs
Outdated
@@ -0,0 +1,81 @@ | |||
defmodule AeMdw.BlocksTest do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This throws a warning about redefining a module
@@ -0,0 +1,81 @@ | |||
defmodule AeMdw.Sync.BlockTest do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this map the module that it is testing? AeMdw.Db.Sync.Block
=> AeMdw.Db.Sync.BlockTest
f60a82d
to
3c366e0
Compare
Why
refs #1389 and event dry-running might take some seconds
What
It caches not only the events but the mutations to avoid reprocessing during mem sync.