Skip to content

Comments

fix awaits and SW_AWSLAMBDA_FLUSH default#72

Merged
kezhenxu94 merged 2 commits intoapache:masterfrom
tom-pytel:master
Feb 24, 2022
Merged

fix awaits and SW_AWSLAMBDA_FLUSH default#72
kezhenxu94 merged 2 commits intoapache:masterfrom
tom-pytel:master

Conversation

@tom-pytel
Copy link
Contributor

@tom-pytel tom-pytel commented Feb 23, 2022

  • Added awaits where they were missing before.
  • Set correct default for SW_AWSLAMBDA_FLUSH.
  • Let event loop tick once before flush in case child spans have finalizer waiting in the loop, if they don't proc then the segment is not archived and flushed.

@tom-pytel tom-pytel added the bug Something isn't working label Feb 23, 2022
@tom-pytel tom-pytel added this to the 0.4.0 milestone Feb 23, 2022
@tom-pytel tom-pytel requested a review from kezhenxu94 February 23, 2022 14:44
kezhenxu94
kezhenxu94 previously approved these changes Feb 23, 2022
@kezhenxu94 kezhenxu94 merged commit c3a74c9 into apache:master Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants