clean-shutdown while hashing huge files

This commit is contained in:
ed
2022-08-03 21:06:10 +02:00
parent 56a62db591
commit 90555a4cea
3 changed files with 17 additions and 3 deletions

View File

@@ -165,7 +165,7 @@ class HttpSrv(object):
"""listens on a shared tcp server"""
ip, port = srv_sck.getsockname()
fno = srv_sck.fileno()
msg = "subscribed @ {}:{} f{}".format(ip, port, fno)
msg = "subscribed @ {}:{} f{} p{}".format(ip, port, fno, os.getpid())
self.log(self.name, msg)
def fun() -> None: