naming for checkin from pool timeout

This commit is contained in:
Alexander Strizhakov 2020-03-03 13:05:28 +03:00
commit 28ed4b41d0
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
4 changed files with 5 additions and 5 deletions

View file

@ -24,8 +24,7 @@ defmodule Pleroma.Pool.ConnectionsTest do
adapter = Application.get_env(:tesla, :adapter)
Application.put_env(:tesla, :adapter, Tesla.Adapter.Gun)
{:ok, pid} =
Connections.start_link({name, [max_connections: 2, receive_connection_timeout: 1_500]})
{:ok, pid} = Connections.start_link({name, [max_connections: 2, checkin_timeout: 1_500]})
on_exit(fn ->
Application.put_env(:tesla, :adapter, adapter)