Skip to content

File cache expiry checking is broken #111

@zarenner

Description

@zarenner

https://github.com/Microsoft/vsts-python-api/blob/dev/vsts/vsts/_file_cache.py#L38 incorrectly uses time.clock() rather than time.time() when comparing the current time against a file time. As such, a file won't be considered out-of-date when it should be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions