jondot / sneakers

A fast background processing framework for Ruby and RabbitMQ
https://github.com/jondot/sneakers
MIT License
2.24k stars 333 forks source link

Runner#stop raises an exception #407

Closed kleinron closed 4 years ago

kleinron commented 4 years ago

Runner#stop calls server-engine's stop method. The latter expects graceful argument, which is not provided.

As a temp workaround I redefined as follows:

module Sneakers
  class Runner
    def stop(graceful=true)
      @se.stop(graceful)
    end
  end
end
gabrieljoelc commented 4 years ago

@kleinron thanks for the suggestion. wanna open a PR? 🙏

gabrieljoelc commented 4 years ago

Closed via #409