Does your RPC call actually block other requests?
On Tuesday, 2 December 2014 06:29:36 UTC+11, Matt Broadstone wrote: > > Hi, > We're making a number of rpc calls to other services using jsonrpc, and a > few of them are particularly long running. I'd rather not use the > scheduler, but instead was wondering if I could associate a jsonrpc > httpclient in python to the current context so that longer tasks wouldn't > block other incoming requests. I tried initially to just do a setattr on > current (it's thread local storage as far as I understand), but that > doesn't seem to work. Anyone have better ideas? Or am I just doing this > completely wrong. > > Cheers, > Matt > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" 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.

