Skip to content

Use separate context for resolving agent infos during error handling

Timo Furrer requested to merge use-separate-ctx-for-resolver into master
  • Use separate context for resolving agent infos during error handling

This change set creates a separate context with a timeout of 1 second to resolve additional agent information while handling errors. This is because the context passed to handleProcessingError is often already canceled.

We see such error logs in prod, e.g.

https://log.gprd.gitlab.net/app/discover#/doc/78f49290-709e-11eb-b821-df2c3b5b1510/pubsub-kas-inf-gprd-000175?id=sRoyx48BkPwygyIkJz8t

Changelog: fixed

Merge request reports