Method: ExaZK#main_loop
- Defined in:
- lib/exazk.rb
#main_loop ⇒ Object
48 49 50 51 52 53 54 55 56 |
# File 'lib/exazk.rb', line 48 def main_loop withdraw_routes.each do |route| send_update(route) end unless mutex_exists? announce_routes.each do |route| send_update(route) end if mutex_exists? end |