Permalink
Browse files

Add process context to local stack for RPC too

  • Loading branch information...
1 parent 593a900 commit 72c20e731aa3b26fafe1d5b062c5204aab0a3231 @daf daf committed Jan 7, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 pyon/ion/endpoint.py
View
3 pyon/ion/endpoint.py
@@ -234,7 +234,8 @@ def _make_routing_call(self, call, timeout, *op_args, **op_kwargs):
if not self._routing_call:
return RPCResponseEndpointUnit._make_routing_call(self, call, timeout, *op_args, **op_kwargs)
- ar = self._routing_call(call, self._process.get_context(), *op_args, **op_kwargs)
+ ctx = self._process.get_context() # pull onto the locals here, for debuggability with manhole
+ ar = self._routing_call(call, ctx, *op_args, **op_kwargs)
res = ar.get() # REMOVED TIMEOUT
#try:
# res = ar.get(timeout=timeout)

0 comments on commit 72c20e7

Please sign in to comment.