Cook icon indicating copy to clipboard operation
Cook copied to clipboard

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

Open scrosby opened this issue 2 years ago • 0 comments

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.

scrosby avatar May 05 '22 18:05 scrosby