Skip to content

Make chng report max lag from drop date, not datetime.now() #1777

@krivard

Description

@krivard

The chng indicator (and perhaps others too) does this:

max_lag_in_days = min_max_date and (datetime.now() - min_max_date).days

This produces alarming output ("max lag: 154 days") when running patches, since the patch lag should have max lag <50 or so.

We should change how max lag is computed to be based off the drop_date param instead of datetime.now()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions