v2: чанки 30KB + MD5, /v2/chunk + /v2/finalize, Redis, worker, v2.0

This commit is contained in:
2026-06-17 23:14:34 +04:00
parent 562c27879e
commit c28baa446b
6 changed files with 416 additions and 19 deletions
+2
View File
@@ -14,6 +14,7 @@ import mimeutil
from test_routes import test_bp
from upload import upload_bp
from api import api_bp
from v2.chunk_api import bp as v2_bp
import redis_client
import redis_worker
@@ -92,6 +93,7 @@ class ContractsApp:
self.app.register_blueprint(test_bp)
self.app.register_blueprint(upload_bp)
self.app.register_blueprint(api_bp)
self.app.register_blueprint(v2_bp)
def _health(self):
return "OK", 200, {"Content-Type": "text/plain"}