Using Foreman with Sidekiq, Neo4j and Ruby on Rails -
in rails project i'm using neo4j instead of activerecord. added sidekiq , foreman able start sidekiq , rails server @ same time. have in procfile:
worker: bundle exec sidekiq web: rails server
when enter "foreman start" i'm getting error:
14:39:29 worker.1 | lockclient[8447] can't wait on resource rwlock[schema(0), hash=754245282] since => lockclient[8447] <-[:held_by]- rwlock[schema(0), hash=754245282] <-[:waiting_for]- lockclient[8448] <-[:held_by]- rwlock[schema(0), hash=754245282] 14:39:29 worker.1 | /home/user/.rvm/gems/ruby-2.1.2/gems/neo4j-core-3.0.8/lib/neo4j-server/cypher_response.rb:163:in `raise_error' 14:39:29 worker.1 | /home/user/.rvm/gems/ruby-2.1.2/gems/neo4j-core-3.0.8/lib/neo4j-server/cypher_session.rb:210:in `_query_or_fail' 14:39:29 worker.1 | /home/user/.rvm/gems/ruby-2.1.2/gems/neo4j-core-3.0.8/lib/neo4j/label.rb:42:in `create_constraint' ... further stack trace
if don't use foreman , instead start sidekiq , rails in separate tabs, works fine. else had similar issues?
Comments
Post a Comment