Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop double counting enqueueing stats #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brocktimus
Copy link

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?

@seuros
Copy link
Owner

seuros commented Aug 25, 2014

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

@seuros
Copy link
Owner

seuros commented Aug 25, 2014

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

@brocktimus
Copy link
Author

There isn't a corresponding method for before_enqueue_stats though?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants