这是indexloc提供的服务,不要输入任何密码
Skip to content

Ensure logs are flushed before we attempt to cache them #1293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2022

Conversation

gsoltis
Copy link
Contributor

@gsoltis gsoltis commented May 25, 2022

We were not explicitly calling Close or Flush on our logstreamers, and the call to close the underlying log file was coming too late, due to defer

@vercel
Copy link

vercel bot commented May 25, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated
turbo-site ⬜️ Ignored (Inspect) May 25, 2022 at 11:24PM (UTC)

@gsoltis gsoltis marked this pull request as ready for review May 25, 2022 23:29
Copy link
Contributor

@jaredpalmer jaredpalmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would do it

@kodiakhq kodiakhq bot merged commit b56f60a into main May 25, 2022
@kodiakhq kodiakhq bot deleted the gsoltis/flush_logs branch May 25, 2022 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants