Собрать стенд лабораторной 5: очередь, worker и идемпотентность pipeline.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"file": "JPEG 200x100, EXIF Orientation 6, red pixels",
|
||||
"in_process_render": {
|
||||
"where": "docker exec mtusi-lab5-worker-1 python, function images.render",
|
||||
"original_unchanged": true,
|
||||
"thumbnail": [100, 200],
|
||||
"crop": [128, 128],
|
||||
"optimized": [100, 200]
|
||||
},
|
||||
"http_upload": {
|
||||
"command": "POST /api/v1/chats/{id}/attachments?filename=orient6.jpg",
|
||||
"upload_status": "queued",
|
||||
"final_status": "ready",
|
||||
"variants": {
|
||||
"thumbnail": [100, 200],
|
||||
"crop": [128, 128],
|
||||
"optimized": [100, 200]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user