Parent Calls TrackedDoubt


#1

What is parent_calls_tracked and how is it used?
Also how is it used in conjunction with MAX_WORKERS?


#2

This is a good question. I would like to know that too… currently, i am setting both max_workers and parent_calls_tracked to the same value


#3

It specifies the depth of the call_id_stack that is tracked in the worker context. The call_id_stack is used by extensions like nameko-sentry and nameko-tracer.

parent_calls_tracked mostly exists to prevent a large amount of data being stored there for very long chains of calls.

It’s not related to max_workers at all.