-
Notifications
You must be signed in to change notification settings - Fork 72
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
Docs on Migrating to v2 from Nebulex.Adapters.Dist.Cluster #198
Comments
Hey! Yeah, I see it is not mentioned in the migration guide. But the adapter you want to use is |
ok i will create an MR to the docs once i finish the migration. On the other hand, also i do not see (and not even searching in the code of previous versions) a reference to what should |
Right, as you may have seen maybe, the Nebulex.Adapters.Partitioned uses a local backend adapter, which by default is Nebulex.Adapters.Local, so yes, you can configure the max cache size with the option config :my_app, MyApp.PartitionedCache,
primary: [
gc_interval: :timer.hours(12),
max_size: 1_000_000,
allocated_memory: 2_000_000_000 # In case you want to set a memory limit too
] Let me know if that helps, stay tuned, thanks! |
Hey, regarding this, the |
Correct, the |
Hello,
I am reading the docs on migrating to v2, but i do not see any reference on how to proceed with mentioned adapter. Can you suggest something?
thanks!
The text was updated successfully, but these errors were encountered: