Skip to content

Commit

Permalink
add documentation to configure a pool for an unix socket
Browse files Browse the repository at this point in the history
  • Loading branch information
cgerling committed Oct 15, 2021
1 parent 6d1c54b commit 6cab10c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/finch.ex
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ defmodule Finch do
* `:name` - The name of your Finch instance. This field is required.
* `:pools` - A map specifying the configuration for your pools. The keys should be URLs
provided as binaries, or the atom `:default` to provide a catch-all configuration to be used
for any unspecified URLs. See "Pool Configuration Options" below for details on the possible
map values. Default value is `%{default: [size: #{@default_pool_size}, count: #{@default_pool_count}]}`.
provided as binaries, a tuple `{:local, unix_socket}` where `unix_socket` is the path for
the socket, or the atom `:default` to provide a catch-all configuration to be used for any
unspecified URLs. See "Pool Configuration Options" below for details on the possible map
values. Default value is `%{default: [size: #{@default_pool_size}, count: #{@default_pool_count}]}`.
### Pool Configuration Options
Expand Down

0 comments on commit 6cab10c

Please sign in to comment.