mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 14:58:03 +03:00
chg: revert D7845335
Summary: `pkill -f chgunix` is a convenient, but not a safe way to invalidate chg servers. We're going to do the server invalidation in a better way. So just revert the change. Reviewed By: singhsrb Differential Revision: D7978130 fbshipit-source-id: c13b75204ae1097ffe992b2e26d80d028022ff0d
This commit is contained in:
parent
b955fc974e
commit
cef17b6c33
@ -544,9 +544,6 @@ class chgunixservicehandler(object):
|
||||
return False
|
||||
|
||||
def newconnection(self):
|
||||
# change process name early so it won't be affected by `pkill -f`
|
||||
if util.safehasattr(util, 'setprocname'):
|
||||
util.setprocname('chg[worker]')
|
||||
self._lastactive = time.time()
|
||||
|
||||
def createcmdserver(self, repo, conn, fin, fout):
|
||||
|
Loading…
Reference in New Issue
Block a user