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

In the exq invocation, use module names, not magic strings. #13

Closed
sergiotapia opened this issue Aug 27, 2016 · 1 comment
Closed

In the exq invocation, use module names, not magic strings. #13

sergiotapia opened this issue Aug 27, 2016 · 1 comment

Comments

@sergiotapia
Copy link
Owner

sergiotapia commented Aug 27, 2016

c24182d#commitcomment-18803508


@akira mentioned we can use module names instead of plain strings.

Switch them out for the module names:

Bad: Exq.enqueue(Exq, "demonoid", "Magnetissimo.DownloadWorker", [url, "demonoid", "root_url"])
Good: Exq.enqueue(Exq, "demonoid", Magnetissimo.DownloadWorker, [url, "demonoid", "root_url"])

Switch it out where applicable.

@sergiotapia
Copy link
Owner Author

No longer applies, we're not using Exq or Redis.

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

No branches or pull requests

1 participant