activejob-stats icon indicating copy to clipboard operation
activejob-stats copied to clipboard

Stop double counting enqueueing stats

Open brocktimus opened this issue 10 years ago • 3 comments

I was browsing the code base and saw this was called before and after enqueueing. I haven't tested it but it seems like it would cause double the counts.

Want a test to go with it?

brocktimus avatar Aug 25 '14 14:08 brocktimus

Actually , the gems is falling with latest version of AJ. I'm going to push a new version tonight.

seuros avatar Aug 25 '14 14:08 seuros

Thank you for your remark, i did not notice the typo, should be : before_enqueue :before_enqueue_stats, if: :monitored

seuros avatar Aug 25 '14 14:08 seuros

There isn't a corresponding method for before_enqueue_stats though?

brocktimus avatar Aug 26 '14 00:08 brocktimus