Tags: toxicafunk/zio
Tags
Limit the maximum amount of ancestors in a ZIO Trace (zio#1158) * Add a TracingConfig parameter `ancestryLength` and limit the maximum amount of ancestors in a ZIO Trace Add ZTrace.parents * use .parents in FiberContext * fix build ; * Change `parents` semantic to avoid `copy` allocations. Use `iterator` to avoid rebuilding the list * Add ZTrace.ancestryLength; check length before cutting off * move out ZTrace.truncatedParentTrace * fmt
Limit the maximum amount of ancestors in a ZIO Trace (zio#1158) * Add a TracingConfig parameter `ancestryLength` and limit the maximum amount of ancestors in a ZIO Trace Add ZTrace.parents * use .parents in FiberContext * fix build ; * Change `parents` semantic to avoid `copy` allocations. Use `iterator` to avoid rebuilding the list * Add ZTrace.ancestryLength; check length before cutting off * move out ZTrace.truncatedParentTrace * fmt
PreviousNext