beremiz
Clone
Summary
Browse
Changes
Graph
Add some "pipe to self" trick in Pyro server to accelerate runtime shutdown instead of waiting for arbitrary pyro timeout.
fix_PLC_runtime_shutdown
2019-04-18, Edouard Tisserant
1ffdc62784cf
Add some "pipe to self" trick in Pyro server to accelerate runtime shutdown instead of waiting for arbitrary pyro timeout.
These classes are intended for use server-side.
e.g. in a django view.py :
from pyjs.jsonrpc.django import JSONService, jsonremote
jsonservice = JSONRPCService()
@jsonremote(jsonservice)
def test(request, echo_param):
return "echoing the param back: %s" % echo_param