[chrony-dev] [Git][chrony/chrony][master] 6 commits: doc: improve description of refresh directive

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Title: GitLab

Miroslav Lichvar pushed to branch master at chrony / chrony

Commits:

  • 717db2cf
    by Miroslav Lichvar at 2025-03-05T16:38:56+01:00
    doc: improve description of refresh directive
    
  • 26d4f0c4
    by Miroslav Lichvar at 2025-03-05T16:39:13+01:00
    privops: mark res_fatal() for printf format compiler check
    
  • 74476830
    by Miroslav Lichvar at 2025-03-06T11:41:40+01:00
    sources: refactor logging of source-specific selection status
    
    Move logging of falsetickers and system peers to the mark_source()
    function. Use an array to flag already logged messages in preparation
    for logging of other status. Support variable number of arguments in the
    logging functions.
    
  • ab850d41
    by Miroslav Lichvar at 2025-03-06T11:44:36+01:00
    sources: warn about sources exceeding maxdistance or maxjitter
    
    Log a warning message if a source is rejected in the source selecting
    due to exceeding the maxdistance or maxjitter limit to make it more
    obvious when synchronization is failing for this reason. Delay the
    message until the reachability register is full (8 updates), or a
    replacement of the source is attempted.
    
  • 454ce626
    by Miroslav Lichvar at 2025-03-06T15:22:36+01:00
    sources: improve no majority log message
    
    Add the number of sources that form an agreement (overlapping
    intervals), if at least two agree with each other, and number of
    reachable sources to the "Can't synchronize: no majority" log message to
    better explain why synchronization is failing and hint that adding more
    sources might help.
    
  • 711c7c0c
    by Miroslav Lichvar at 2025-03-06T15:22:36+01:00
    rewrite some assertions for better readability
    
    Some assertions are written as "if (x) assert(0)" to avoid having
    the text of a long argument compiled in the binary. Rewrite them
    to use a new BRIEF_ASSERT macro to make the condition easier to read in
    its non-negated form and make it easier to turn it back to the full-text
    assert if needed.
    

19 changed files:



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/