2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-20 11:21:14 +00:00
This commit is contained in:
asonix 2023-07-25 21:14:11 -05:00
parent 2a59a6492a
commit 83e9f537fe

View file

@ -130,7 +130,7 @@ CREATE TABLE details (
### QueueRepo
This is going to be the troublesome table. It represents jobs that will be processed. Jobs are
pushed as Bytes, but at a higher level are actually JSON strings. The QueueRepo API could be updated
to take `T: Serizlie` as input rather than bytes, and then we can store it as JSONB. With the
to take `T: Serialize` as input rather than bytes, and then we can store it as JSONB. With the
current API, the repo doesn't need to know the shape of a job, and maybe that is a benefit. We
should take care in the future not to query on the contents of the job.