Loading cloudcontrol/server/handlers.py +0 −4 Original line number Diff line number Diff line Loading @@ -24,8 +24,6 @@ from sjrpc.utils import RpcHandler from cloudcontrol.server import __version__ import prctl def listed(func): func.__listed__ = True Loading Loading @@ -89,8 +87,6 @@ class CCHandler(RpcHandler): @functools.wraps(func) def wrapper(*args, **kwargs): call_id = base64.b64encode(os.urandom(6)) if getattr(func, '__threaded__', True): prctl.set_name('H: %s' % call_id) started = time.time() returned = func(*args, **kwargs) duration = time.time() - started Loading Loading
cloudcontrol/server/handlers.py +0 −4 Original line number Diff line number Diff line Loading @@ -24,8 +24,6 @@ from sjrpc.utils import RpcHandler from cloudcontrol.server import __version__ import prctl def listed(func): func.__listed__ = True Loading Loading @@ -89,8 +87,6 @@ class CCHandler(RpcHandler): @functools.wraps(func) def wrapper(*args, **kwargs): call_id = base64.b64encode(os.urandom(6)) if getattr(func, '__threaded__', True): prctl.set_name('H: %s' % call_id) started = time.time() returned = func(*args, **kwargs) duration = time.time() - started Loading