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

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

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