diff --git a/.travis.yml b/.travis.yml index 28173f7..974438b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,12 @@ language: elixir elixir: - - 1.7 - 1.8 - 1.9 - 1.10 otp_release: - 21.0 + - 22.0 sudo: required diff --git a/lib/consumer.ex b/lib/consumer.ex index 320cf64..5ae1f09 100644 --- a/lib/consumer.ex +++ b/lib/consumer.ex @@ -63,8 +63,8 @@ defmodule GenRMQ.Consumer do [recommended](https://www.rabbitmq.com/priority.html#resource-usage). `concurrency` - defines if `handle_message` callback is called - in separate process using [spawn](https://hexdocs.pm/elixir/Process.html#spawn/2) - function. By default concurrency is enabled. To disable, set it to `false` + in separate process using [supervised task](https://hexdocs.pm/elixir/Task.Supervisor.html). + By default concurrency is enabled. To disable, set it to `false` `terminate_timeout` - defines how long the consumer will wait for in-flight Tasks to complete before terminating the process. The value is in milliseconds and the default diff --git a/mix.exs b/mix.exs index 7d05432..95e8075 100644 --- a/mix.exs +++ b/mix.exs @@ -7,7 +7,7 @@ defmodule GenRMQ.Mixfile do [ app: :gen_rmq, version: @version, - elixir: "~> 1.7", + elixir: "~> 1.8", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), deps: deps(),