fix: remove extra task by astuyve · Pull Request #854 · DataDog/datadog-lambda-extension

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@astuyve

Copy link

Contributor

@astuyve astuyve commented

Sep 19, 2025

Both the otlp agent and telemetry client themselves spawn tasks, we probably don't need another task to do the spawning.

@astuyve astuyve requested a review from a team as a code owner

September 19, 2025 09:31

@duncanista

Copy link

Contributor

Wondering if it would make more sense to remove the task being created inside of them, that way the API is more friendly? anyhow, not a blocker, approving

@astuyve

Copy link

Contributor Author

astuyve commented

Sep 19, 2025

Yeah the .spin() methods kinda do that. I'm torn/not sure

@astuyve astuyve merged commit 53cba3c into main

Sep 19, 2025

46 checks passed

@astuyve astuyve deleted the aj/remove-double-task branch

September 19, 2025 17:29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@duncanista duncanista duncanista approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@astuyve @duncanista