File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ exception is raised), we use the ERR event.
207
207
- Name of the error (it should be the exception class name, or another
208
208
meaningful keyword).
209
209
- Human representation of the error (preferably in english).
210
- - If possible a pretty printed traceback of the call stack when the error occured .
210
+ - If possible a pretty printed traceback of the call stack when the error occurred .
211
211
212
212
> A future version of the protocol will probably add a structured version of the
213
213
> traceback, allowing machine-to-machine stack walking and better cross-language
Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ def fork_task_context(functor, context=None):
406
406
- task1 is created to handle this event this task will be linked
407
407
to the initial event context. zerorpc.Server does that for you.
408
408
- task1 make use of some zerorpc.Client instances, the initial
409
- event context is transfered on every call.
409
+ event context is transferred on every call.
410
410
411
411
- task1 spawn a new task2.
412
412
- task2 make use of some zerorpc.Client instances, it's a fresh
@@ -415,7 +415,7 @@ def fork_task_context(functor, context=None):
415
415
416
416
- task1 spawn a new fork_task_context(task3).
417
417
- task3 make use of some zerorpc.Client instances, the initial
418
- event context is transfered on every call.
418
+ event context is transferred on every call.
419
419
420
420
A real use case is a distributed tracer. Each time a new event is
421
421
created, a trace_id is injected in it or copied from the current task
You can’t perform that action at this time.
0 commit comments