mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-28 12:31:00 +00:00
Serizlie
This commit is contained in:
parent
2a59a6492a
commit
83e9f537fe
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ CREATE TABLE details (
|
||||||
### QueueRepo
|
### QueueRepo
|
||||||
This is going to be the troublesome table. It represents jobs that will be processed. Jobs are
|
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
|
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
|
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.
|
should take care in the future not to query on the contents of the job.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue