Skip to content

Commit

Permalink
Fix Poolboy start_link params
Browse files Browse the repository at this point in the history
The values passed from the NIF pool supervisor to Poolboy's start_link
have the wrong name and are ignored. This patch renames them to the
correct names.
  • Loading branch information
varnerac committed Oct 7, 2021
1 parent 3634f2f commit e459f1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bcrypt_nif_pool_sup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ init([]) ->

PoolArgs = [
{name, {local, bcrypt_nif_pool}},
{nif_pool_size, PoolSize},
{nif_pool_max_overflow, MaxOverFlow},
{size, PoolSize},
{max_overflow, MaxOverFlow},
{worker_module, bcrypt_nif_worker}
],

Expand Down

0 comments on commit e459f1f

Please sign in to comment.