# Parent Calls TrackedDoubt

**URL:** <https://discourse.nameko.io/t/parent-calls-trackeddoubt/274>\
**Category:** Uncategorized\
**Created:** [August 3, 2018, 7:08pm UTC](https://discourse.nameko.io/t/parent-calls-trackeddoubt/274 "2018-08-03T19:08:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shrmoud](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.nameko.io/shrmoud/32/26_2.png) [@shrmoud](https://discourse.nameko.io/u/shrmoud)\
**Post date:** [August 3, 2018, 7:08pm UTC](https://discourse.nameko.io/t/parent-calls-trackeddoubt/274/1 "2018-08-03T19:08:03Z")

</div>

What is parent\_calls\_tracked and how is it used?  
Also how is it used in conjunction with MAX\_WORKERS?

---

<div class="post-metadata">

**Author:** ![coddericko](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.nameko.io/coddericko/32/16_2.png) [@coddericko](https://discourse.nameko.io/u/coddericko)\
**Post date:** [August 6, 2018, 7:03am UTC](https://discourse.nameko.io/t/parent-calls-trackeddoubt/274/2 "2018-08-06T07:03:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mattbennett](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.nameko.io/mattbennett/32/13_2.png) [@mattbennett](https://discourse.nameko.io/u/mattbennett)\
**Post date:** [August 6, 2018, 7:53am UTC](https://discourse.nameko.io/t/parent-calls-trackeddoubt/274/3 "2018-08-06T07:53:51Z")

</div>

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](https://github.com/mattbennett/nameko-sentry) and [nameko-tracer](https://github.com/Overseas-Student-Living/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.
