Skip to content

Commit

Permalink
Run on whatever is the current release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Aug 22, 2024
1 parent 8b5e272 commit 2da8167
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

gemspec

gem "faraday", git: "https://github.com/lostisland/faraday.git", branch: "mg/parallel-manager-execute"

group :maintenance, optional: true do
gem "bake-modernize"
gem "bake-gem"
Expand Down
6 changes: 5 additions & 1 deletion lib/async/http/faraday/adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ def run
end

def async(&block)
@barrier.async(&block)
if @barrier
@barrier.async(&block)
else
Sync(&block)
end
end

def execute(&block)
Expand Down

0 comments on commit 2da8167

Please sign in to comment.