Skip to content

Commit 0270d43

Browse files
Add desired_count/2 to the behavior, it was forgotten to be added
1 parent 992b4a6 commit 0270d43

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/flame/pool/strategy.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@ defmodule FLAME.Pool.Strategy do
2121
) ::
2222
Pool.t()
2323

24+
@callback desired_count(state :: Pool.t(), opts :: Keyword.t()) :: non_neg_integer()
25+
2426
@callback has_unmet_servicable_demand?(state :: Pool.t(), opts :: Keyword.t()) :: boolean()
2527
end

0 commit comments

Comments
 (0)