Created
May 22, 2012 13:17
-
-
Save KensoDev/2768988 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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