Giter VIP home page Giter VIP logo

jobi's People

Contributors

rudy-zidan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

jobi's Issues

`rescue in start': Could not establish TCP connection to any of the configured hosts

/usr/local/bundle/gems/bunny-2.17.0/lib/bunny/session.rb:343:in `rescue in start': Could not establish TCP connection to any of the configured hosts (Bunny::TCPConnectionFailedForAllHosts)
        from /usr/local/bundle/gems/bunny-2.17.0/lib/bunny/session.rb:315:in `start'
        from /usr/local/bundle/gems/jobi-0.2.1/lib/jobi/clients/rabbitmq.rb:17:in `initialize'
        from /usr/local/bundle/gems/jobi-0.2.1/lib/jobi.rb:31:in `new'
        from /usr/local/bundle/gems/jobi-0.2.1/lib/jobi.rb:31:in `session'
        from /usr/local/bundle/gems/jobi-0.2.1/lib/jobi/job.rb:63:in `join_queue'
        from /usr/local/bundle/gems/jobi-0.2.1/lib/jobi/job.rb:34:in `consume_messages'
        from /usr/local/bundle/gems/jobi-0.2.1/lib/jobi.rb:60:in `block in start'
        from /usr/local/bundle/gems/jobi-0.2.1/lib/jobi.rb:59:in `each'
        from /usr/local/bundle/gems/jobi-0.2.1/lib/jobi.rb:59:in `start'
        from /usr/local/bundle/gems/jobi-0.2.1/lib/jobi.rb:23:in `configure'
        from /myapp/config/initializers/jobi.rb:4:in `<top (required)>'

`options': unknown keywords: durable, persist (ArgumentError)

/usr/local/bundle/gems/jobi-0.1.1/lib/jobi/job.rb:9:in `options': unknown keywords: durable, persist (ArgumentError)
here is my jobi

class BotRunnerJob < ApplicationJob
  options queue_name: :bot,
          ack: true,
          consumers: 5,
          durable: true,
          persist: true

  def initialize(bot:)
    @bot = bot
  end

  def run
    @bot.run
  end
end

where ApplicationJob extends Jobi::Job

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.