Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
u = User.find(some_user_id)
u.long_running_method # Method will be queued into the :generic queue
u.long_running_method_2 # Method will be queued into :some_queue_name queue
u.lonely_long_running_method # Method will be queued into the :some_queue_name queue, only a single instance of this method can exist in the queue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.