ruby on rails - disable rack-mini-profiler in resque worker -
does know how disable rack-mini-profiler in resque worker? i'm running on heroku environment identical web server, in resque worker don't want mini-profiler instrument database calls (it errors out occasionally). ideas?
look @ document there. there option (pre_authorize_cb) enable/disable profiler on given request. "resque based" requests have callback return false disable profiler them.
Comments
Post a Comment