• Michael Kozono's avatar
    Refactor Geo LogCursor Daemon loop · 60117481
    Michael Kozono authored
    - Rename run_once! to find_and_handle_events!
    - Extract loop contents into run_once!
    - Reuse sleep_break in arbitrary_sleep
    - Remove now-redundant exit? check
    - Use exit! to set @exit due to error
    - Now we can avoid calling run! in specs to avoid excessive stubbing
    60117481
daemon.rb 5.56 KB