cabol / kvx

Simple in-memory Key/Value Store written in Elixir using `cabol/ex_shards`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting error - no process

anildigital opened this issue · comments

I have installed kvx as told in README.md but getting following error.

** (exit) exited in: :gen_server.call(:shards_sup, {:start_child, [:mybucket, []]}, :infinity)
    ** (EXIT) no process
    (stdlib) gen_server.erl:212: :gen_server.call/3
             /Users/anil/Projects/standups/deps/shards/src/shards_local.erl:850: :shards_local.new/2

I have installed it in my Phoenix app and added below code in config.exs

  adapter: KVX.Bucket.Shards,
  ttl: 1,
  shards_mod: :shards

@anildigital I really sorry the lateness , I hadn't seen this issue. I suppose you found the cause of this error isn't? Otherwise, could you give me more details, e.g.: the application section of your mix file. Remember you haver to add shards to the list of your apps. Thanks, I stay tuned!