Browse Source

merged in the 1.6 changes

pull/5/head
pragdave 2 years ago
parent
commit
76f0ddb601
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      lib/work_queue.ex
  2. +1
    -1
      mix.exs

+ 1
- 1
lib/work_queue.ex View File

@ -49,7 +49,7 @@ defmodule WorkQueue do
defp loop_with_ticker(params, running, max) do
{:ok, ticker} = :timer.send_interval(params.opts.report_progress_interval,
self, :tick)
self(), :tick)
before_returning loop(params, running, max) do
_ -> :timer.cancel(ticker)
end

+ 1
- 1
mix.exs View File

@ -5,7 +5,7 @@ defmodule WorkQueue.Mixfile do
[
app: :work_queue,
version: "0.0.3",
elixir: ">= 1.0.0",
elixir: ">= 1.6.0",
deps: deps(),
description: description(),
package: package(),

Loading…
Cancel
Save