Skip to content

feat(core): add AsyncTwoLevelCache#936

Merged
chrisburr merged 1 commit into
DIRACGrid:mainfrom
chrisburr:rss-1-async-cache
Jun 12, 2026
Merged

feat(core): add AsyncTwoLevelCache#936
chrisburr merged 1 commit into
DIRACGrid:mainfrom
chrisburr:rss-1-async-cache

Conversation

@chrisburr

@chrisburr chrisburr commented Jun 11, 2026

Copy link
Copy Markdown
Member

Async equivalent of TwoLevelCache for use with coroutine populate functions: same soft/hard TTL semantics, but coordinated with asyncio primitives instead of a ThreadPoolExecutor.

Replaces #910
Part of #839

Async equivalent of TwoLevelCache for use with coroutine populate
functions: same soft/hard TTL semantics, but coordinated with asyncio
primitives instead of a ThreadPoolExecutor.

Co-authored-by: Loxeris <30194187+Loxeris@users.noreply.github.com>
@read-the-docs-community

Copy link
Copy Markdown

@chrisburr chrisburr marked this pull request as ready for review June 11, 2026 08:02
@chrisburr chrisburr linked an issue Jun 11, 2026 that may be closed by this pull request
5 tasks
@chrisburr chrisburr requested a review from Loxeris June 11, 2026 08:57
Comment thread diracx-core/src/diracx/core/utils.py

@Loxeris Loxeris left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems good to me!

@chrisburr chrisburr merged commit 2a36667 into DIRACGrid:main Jun 12, 2026
53 of 54 checks passed
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.

ResourceStatusSource + route

2 participants