-
Notifications
You must be signed in to change notification settings - Fork 2
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
Only recommend published jobs #2
base: master
Are you sure you want to change the base?
Conversation
…t clause, because it creates the wrong query WHERE NOT(a AND b AND c)
1 similar comment
@@ -1,10 +1,10 @@ | |||
class RecommendationConsumer | |||
include Hutch::Consumer | |||
|
|||
consume "copro.recommendations.*" | |||
consume "copro.recommendations.*.*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious to know what's the difference between consume "copro.recommendations.*"
and consume "copro.recommendations.*.*"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's misleading. It doesnt work like a real regexp. copro.recommendations.*
matches copro.recommendations.lol
, but not copro.recommendations.lol.kikou
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*
works as a wildcard, not as quantifier
# should be obvious | ||
lonely_job = Job.create(uid: 5, dev_type: 2) | ||
lonely_job = create(:job, uid: 5, dev_type: 2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.