Parent Calls TrackedDoubt

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

1 Like

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

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.

1 Like