Skip to content
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

sync time only if buffer is not empty #22

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

DimaGolomozy
Copy link
Contributor

@DimaGolomozy DimaGolomozy commented Sep 3, 2024

no need to do a time sync if the buffer of logs to send is empty.
only if there are logs to send, it should do a time sync.

@DimaGolomozy
Copy link
Contributor Author

@daidokoro @EldarAliiev please have a look on the PR

Copy link
Contributor

@daidokoro daidokoro left a comment

Choose a reason for hiding this comment

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

@DimaGolomozy, thanks for the PR.

Can you add an explanation to the PR descriptions saying why this change is necessary. And how moving the SyncTime check to occur after the BuggerLenToSend Check addresses the issue.

Thanks.

@DimaGolomozy
Copy link
Contributor Author

@DimaGolomozy, thanks for the PR.

Can you add an explanation to the PR descriptions saying why this change is necessary. And how moving the SyncTime check to occur after the BuggerLenToSend Check addresses the issue.

Thanks.

updated the description

Copy link
Contributor

@daidokoro daidokoro left a comment

Choose a reason for hiding this comment

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

Thanks @DimaGolomozy LGTM

@daidokoro daidokoro merged commit 8394cb7 into coralogix:master Sep 4, 2024
3 checks passed
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