• Yorick Peterse's avatar
    Add multiple DBs support to LB service discovery · fd1d63da
    Yorick Peterse authored
    This adds support for using the load balancer's service discovery
    mechanism with multiple databases. The change is quite simple: instead
    of depending directly on `LoadBalancing.proxy.load_balancer`, we pass
    the load balancer as an argument to the `initialize` method.
    fd1d63da
service_discovery.rb 6.29 KB