From 7edc8f33b603c2570c4f99249e48f5ad9351a58b Mon Sep 17 00:00:00 2001 From: Andrei Nesterov Date: Fri, 18 Nov 2016 10:15:48 +0300 Subject: [PATCH] Allow worker arguments of any type --- src/poolboy_worker.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/poolboy_worker.erl b/src/poolboy_worker.erl index 4a5bfae..9c23278 100644 --- a/src/poolboy_worker.erl +++ b/src/poolboy_worker.erl @@ -5,6 +5,6 @@ -callback start_link(WorkerArgs) -> {ok, Pid} | {error, {already_started, Pid}} | {error, Reason} when - WorkerArgs :: proplists:proplist(), + WorkerArgs :: any(), Pid :: pid(), Reason :: term().