Skip to content

Commit

Permalink
Fix the pool_timeout param usage (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
patchkord authored Apr 22, 2023
1 parent 507c586 commit d9ef6be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/instream/writer/udp.ex
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ defmodule Instream.Writer.UDP do
pool_name = Module.concat(conn, UDPWriterPool)
pool_timeout = opts[:pool_timeout] || default_pool_timeout

worker = :poolboy.checkout(pool_name, pool_timeout)
worker = :poolboy.checkout(pool_name, true, pool_timeout)

:ok =
if opts[:async] do
Expand Down

0 comments on commit d9ef6be

Please sign in to comment.