From 96e47b05d35d61271f8a0ad949d7c9bd71463bd7 Mon Sep 17 00:00:00 2001 From: DanX Date: Tue, 23 Apr 2019 16:33:58 -0300 Subject: [PATCH] Make concurrency/0 overridable by workers --- lib/que/worker.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/que/worker.ex b/lib/que/worker.ex index 7f6876a..536bdae 100644 --- a/lib/que/worker.ex +++ b/lib/que/worker.ex @@ -182,7 +182,7 @@ defmodule Que.Worker do end - defoverridable [on_success: 1, on_failure: 2, on_setup: 1, on_teardown: 1] + defoverridable [on_success: 1, on_failure: 2, on_setup: 1, on_teardown: 1, concurrency: 0]