Skip to content

Instantly share code, notes, and snippets.

@asm
Created September 10, 2009 23:30

Revisions

  1. @invalid-email-address Anonymous revised this gist Sep 10, 2009. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,7 @@
    concurrent_iterator :count => 10 do
    get_total
    do_some_stuff
    _rewind :if => '${total} < 100'
    cursor do
    get_total
    do_some_stuff
    _rewind :if => '${total} < 100'
    end
    end
  2. @invalid-email-address Anonymous revised this gist Sep 10, 2009. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    concurrent_iterator :count => 100, :batch => 10 do
    concurrent_iterator :count => 10 do
    get_total
    do_some_stuff
    _rewind :if => '${total} < 100'
    end
  3. @invalid-email-address Anonymous created this gist Sep 10, 2009.
    3 changes: 3 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    concurrent_iterator :count => 100, :batch => 10 do
    do_some_stuff
    end