Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make worker_monitor_drb act like a reader again! #14638

Commits on Apr 4, 2017

  1. Make worker_monitor_drb act like a reader again!

    https://bugzilla.redhat.com/show_bug.cgi?id=1438935
    
    For testing in e21d1b9, @worker_monitor_drb was changed to use the
    method.  Unfortunately, this method isn't a reader, so it would create a
    new drb client each time it was called.
    
    It doesn't make sense for this method to make a new drb client each
    time, so we can cache this client on first access so it functions like a
    attr_reader now.  We can then remove some memoization/caching that
    occurs in heartbeat since the getter method handles that for us.
    jrafanie committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    a9726db View commit details
    Browse the repository at this point in the history