Looped concurrent rebuild

I’ve used the code at
http://pastie.textmate.org/66602
for an index rebuild which catches edits during the rebuild.

I’ve tweaked this for my own use and sharing here for others & feedback.

It’s not the prettiest loop and, in theory at least, it could run
forever… but this tweak also allows you to catch edits during the
entire rebuild process.

http://pastie.textmate.org/188436

Sam

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs