Revert "PERF: move message bus to the front of the middleware stack"

I suspect this commit is preventing Sidekiq from running inprocess.
This commit is contained in:
Robin Ward
2015-12-07 14:57:23 -05:00
parent 4e80323567
commit cd1dd18f01
37 changed files with 83 additions and 94 deletions
-14
View File
@@ -1,14 +0,0 @@
# tiny middleware to force https if needed
class Discourse::ForceHttpsMiddleware
def initialize(app, config={})
@app = app
end
def call(env)
env['rack.url_scheme'] = 'https' if SiteSetting.use_https
@app.call(env)
end
end