forked from mtusi2026/mtusi2026lab4
Реализовать уровень 3: приватное S3, вложения и сохранность при отказах
This commit is contained in:
@@ -13,6 +13,8 @@ def liveness():
|
||||
@router.get('/health/ready')
|
||||
def readiness():
|
||||
storage.ready()
|
||||
from src.objects import client, BUCKET
|
||||
client().list_objects_v2(Bucket=BUCKET,Prefix="originals/",MaxKeys=1)
|
||||
return Health()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user