This repository was archived by the owner on Apr 24, 2023. It is now read-only.
Commit f099b31
Scott Crosby
Make the user cache work for job entities in the queue.
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.1 parent 0724038 commit f099b31
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
565 | 570 | | |
566 | 571 | | |
567 | 572 | | |
| |||
0 commit comments