Change in ovirt-scheduler-proxy[master]: osschedproxyd: Disable needless and slow dns lookup

Martin Sivák has submitted this change and it was merged. Change subject: osschedproxyd: Disable needless and slow dns lookup ...................................................................... osschedproxyd: Disable needless and slow dns lookup In Python 2.6, BaseHTTPServer.BaseRequestHandler is invoking socket.getfqdn() after each request, to log the client fully qualified hostname. If dns is not configured properly, this cause needless delay after each request. This patch overrides address_string to return client address, avoiding the dns lookup. Change-Id: Id622cfdc07419c8ad52ad88323b10639288c3668 Signed-off-by: Nir Soffer <nsoffer@redhat.com> --- M src/ovirtscheduler/oschedproxyd.py 1 file changed, 15 insertions(+), 2 deletions(-) Approvals: Martin Sivák: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/24913 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id622cfdc07419c8ad52ad88323b10639288c3668 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-scheduler-proxy Gerrit-Branch: master Gerrit-Owner: Nir Soffer <nsoffer@redhat.com> Gerrit-Reviewer: Doron Fediuck <dfediuck@redhat.com> Gerrit-Reviewer: Jiří Moskovčák <jmoskovc@redhat.com> Gerrit-Reviewer: Martin Sivák <msivak@redhat.com> Gerrit-Reviewer: Nir Soffer <nsoffer@redhat.com> Gerrit-Reviewer: Noam Slomianko <nslomian@redhat.com> Gerrit-Reviewer: automation@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
msivak@redhat.com