Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Make the user cache work for job entities in the queue. #2074

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

scrosby
Copy link
Member

@scrosby scrosby commented May 5, 2022

Changes proposed in this PR

  • Fix create-task-ent to have a :db/id

Why are we making these changes?

task-ent->user uses :db/id as a cache key. However, synthetic tasks
entities for pending jobs don't have that and aren't cached. This makes
that cache essentially noop for pending jobs; they always miss.

Fix this by borrowing the :db/id of the source job.

Scott Crosby added 12 commits May 31, 2022 13:40
task-ent->user uses :db/id as a cache key. However, synthetic tasks
entities for pending jobs don't have that and aren't cached. This makes
that cache essentially noop for pending jobs; they always miss.

Fix this by borrowing the :db/id of the source job.
@scrosby scrosby force-pushed the outgoing/fix-job-user-cache branch from f099b31 to baf99b7 Compare May 31, 2022 20:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant