Skip to content

Commit

Permalink
Make private.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Aug 7, 2024
1 parent 77c3e51 commit b10f64d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/async/pool/controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def release(resource)
retire(resource) unless processed
end

def drain
private def drain
# Enumerate all existing resources and retire them:
while resource = acquire_existing_resource
retire(resource)
Expand Down

0 comments on commit b10f64d

Please sign in to comment.