Собрать стенд лабораторной 5: очередь, worker и идемпотентность pipeline.

This commit is contained in:
Wladislava1
2026-11-12 13:05:02 +03:00
parent 276dbdad8a
commit a1b972f7d9
39 changed files with 5492 additions and 34 deletions
+20
View File
@@ -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]
}
}
}