Hi, I am getting started with rpyc and have a simple service running through a ThreadedServer.
I noticed in the documentation that I should not put code in the __init__() method of the service but instead use on_connect. Indede, I can't actually use the init method. However, in my case my initialization code takes a while to run so I don't want to have to wait until a client connects. I also need to run some code to properly terminate the service if it is killed. There are various hacks I can do to get this functionality but I was wondering if there is a recommended way to implement global startup/teardown code for a service. -- Richard -- --- You received this message because you are subscribed to the Google Groups "rpyc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
