Skip to content

File cache expiry checking is broken #111

Closed
@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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions