• Simon Tomlinson's avatar
    Ensure service discovery runs before results are used · 7f407002
    Simon Tomlinson authored
    Fixes a race condition where database queries could start before the
    first round of service discovery completes. By running service discovery
    once on the main thread before starting the worker thread, we can be
    sure that it runs at least once before the application needs the
    results.
    
    Changelog: fixed
    7f407002
service_discovery.rb 6.51 KB