mercurial/chgserver.py
changeset 33499 0407a51b9d8c
parent 32271 6096d27dc119
child 33860 3cfc9070245f
--- a/mercurial/chgserver.py	Tue Jul 11 08:52:55 2017 -0700
+++ b/mercurial/chgserver.py	Fri Jul 14 14:22:40 2017 -0700
@@ -485,7 +485,7 @@
 
     def __init__(self, ui):
         self.ui = ui
-        self._idletimeout = ui.configint('chgserver', 'idletimeout', 3600)
+        self._idletimeout = ui.configint('chgserver', 'idletimeout')
         self._lastactive = time.time()
 
     def bindsocket(self, sock, address):
@@ -497,7 +497,7 @@
 
     def _inithashstate(self, address):
         self._baseaddress = address
-        if self.ui.configbool('chgserver', 'skiphash', False):
+        if self.ui.configbool('chgserver', 'skiphash'):
             self._hashstate = None
             self._realaddress = address
             return