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

Add Consumer Hook #7

Merged
merged 3 commits into from
Dec 11, 2015
Merged

Add Consumer Hook #7

merged 3 commits into from
Dec 11, 2015

Conversation

deankarn
Copy link
Collaborator

  • now can register ConsumerHook function that will be run while firing up the consumer routines and that return value will be set/passed to each job. This is particularily usefull when creating a saving pool so a the consumer hook would create a database connection for each job to reuse instead of creating an additional one for each job.

joeybloggs added 3 commits December 11, 2015 15:33
* now can register ConsumerHook function that will be run while firing up the consumer routines and that return value will be set/passed to each job. This is particularily usefull when creating a saving pool so a the consumer hook would create a database connection for each job to reuse instead of creating an additional one for each job.
@deankarn deankarn self-assigned this Dec 11, 2015
@deankarn deankarn added this to the Updates & Additions milestone Dec 11, 2015
deankarn pushed a commit that referenced this pull request Dec 11, 2015
@deankarn deankarn merged commit 7f37f4c into go-playground:v1 Dec 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant