Skip to content

Cache invalidation#11

Open
jonathanherbst-hbk wants to merge 3 commits into
masterfrom
cache-invalidation
Open

Cache invalidation#11
jonathanherbst-hbk wants to merge 3 commits into
masterfrom
cache-invalidation

Conversation

@jonathanherbst-hbk

@jonathanherbst-hbk jonathanherbst-hbk commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Sensorcloud cache now keeps track of the auth server and device id and invalidates the cache if they don't match.

Testing:

  • Added some unit tests to test the cache
    • Run with python2 from SDK/Python python -m unittest test.test_device
  • Tested on a WSDA and verified that swapping auth urls invalidates the cache

@UnicornWhale UnicornWhale left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants