Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

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
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Use i_info() when time jumps forward by <0.2 seconds#231

Open
andrew-sayers wants to merge1 commit intodovecot:main
base:main
Choose a base branch
Loading
fromandrew-sayers:patch-1

Conversation

andrew-sayers
Copy link

Small time jumps due to NTP corrections are common. Warning the user too frequently trains them to ignore this message, ignoring potentially serious time jumps.

Reduce the level toinfo if the jump is less than 0.2 seconds, so they can opt out of the common messages but still see the problems.

Small time jumps due to NTP corrections are common.  Warning the user too frequently trains them to ignore this message, ignoring potentially serious time jumps.Reduce the level to `info` if the jump is less than 0.2 seconds, so they can opt out of the common messages but still see the problems.
@sirainen
Copy link
Contributor

Isn'tac502af here? Also why <0.2s specifically? It already ignores <0.1s jumps. I don't see a benefit logging 0.1s .. 0.2s with info-log. Might as well not log them at all, i.e. increase:

#define IOLOOP_TIME_MOVED_FORWARDS_MIN_USECS (100000)

@andrew-sayers
Copy link
Author

I was looking to make the lowest-impact change I could, but silencing the message altogether works for me.

I get an average of about one message per day (sometimes nothing for a week, sometimes several in a day) warning about the clock moving forward by up to about 0.1001 seconds. I'm running dovecot on an old Raspberry Pi, so that's probably a decent upper-bound.

0.2 seconds seemed like a round number for the patch above, but if we're silencing the message altogether, how about doing#define IOLOOP_TIME_MOVED_FORWARDS_MIN_USECS (100100) and bumping it again if anyone else has a problem?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
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
@andrew-sayers@sirainen

[8]ページ先頭

©2009-2025 Movatter.jp