Skip to content

Instantly share code, notes, and snippets.

@npj
Created May 19, 2012 17:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save npj/2731551 to your computer and use it in GitHub Desktop.
Save npj/2731551 to your computer and use it in GitHub Desktop.
Queue::Normal.enqueue(some_object, :some_method, { 'some_arg' => 1, 'some_other_arg' => 2 })
Queue::High.enqueue(some_object, :some_really_imporant_method, { 'some_arg' => 1, 'some_other_arg' => 2 })
Queue::Low.enqueue(some_object, :some_method_that_can_take_its_time, { 'some_arg' => 1, 'some_other_arg' => 2 })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment