File cache expiry checking is broken · Issue #111 · microsoft/azure-devops-python-api · GitHub
Skip to content

File cache expiry checking is broken #111

Closed

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.

Activity

  1. added a commit that references this issue on Sep 11, 2018
    a560db0
  2. added a commit that references this issue on Jul 27, 2024
    360131d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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