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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -