Skip to content

Commit

Permalink
Revert "Create new middleware instance for each requests for thread s…
Browse files Browse the repository at this point in the history
…afe"

This reverts commit 85461b1.
Because bulletmark_repairer is now thread safe.
  • Loading branch information
makicamel committed Oct 15, 2023
1 parent 024f6c5 commit f0e9e51
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/bulletmark_repairer/rack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ def initialize(app)
end

def call(env)
dup._call(env)
end

def _call(env)
@app.call(env)
ensure
begin
Expand Down

0 comments on commit f0e9e51

Please sign in to comment.