Skip to content

Releases: kentik/kentik_image_cache

Refactored waiting for cache entry activation

28 May 06:30
Compare
Choose a tag to compare

The ObjectCache class now has new method wait_for(entry_id) which allows callers to be blocked until the corresponding cache entry becomes active. This is implemented using threading.Event objects. The new method is used in the get_image API method instead of a busy polling (with sleep). New configuration variable ENTRY_WAIT_TIMEOUT allows to configure timeout for maximum time spent waiting for entry activation.

Initial release

26 May 06:01
Compare
Choose a tag to compare

The image cache application is functionally complete.