From f0e9e51c3e376f9ea56e193dcfd921e6937970e2 Mon Sep 17 00:00:00 2001 From: makicamel Date: Sun, 15 Oct 2023 22:02:53 +0900 Subject: [PATCH] Revert "Create new middleware instance for each requests for thread safe" This reverts commit 85461b19d30a6ae58a76176d30ec2108ad8d5e3e. Because bulletmark_repairer is now thread safe. --- lib/bulletmark_repairer/rack.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/bulletmark_repairer/rack.rb b/lib/bulletmark_repairer/rack.rb index a71f561..7f2673d 100644 --- a/lib/bulletmark_repairer/rack.rb +++ b/lib/bulletmark_repairer/rack.rb @@ -7,10 +7,6 @@ def initialize(app) end def call(env) - dup._call(env) - end - - def _call(env) @app.call(env) ensure begin