mithril-security / blindai

Confidential AI deployment with secure enclaves :lock:
https://www.mithrilsecurity.io/
Apache License 2.0
502 stars 36 forks source link

add daily job to delete models after 1 week of inactivity #132

Closed mbrunel closed 2 years ago

mbrunel commented 2 years ago

Description

put the communication server in a tokio task. instead a loop wait 24h before creating a task deleting unusued models.

Related Issue

prevents disk storage to increase indifinitively

Type of change

The types of changes must be deduced from the labels of the related issues. Please consider providing these further details.

This change affects the client. It may need to be documented.

How Has This Been Tested?

Tested locally.

github-actions[bot] commented 2 years ago

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
621 508 82% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
client/blindai/version.py 100% 🟢
TOTAL 100% 🟢

updated for commit: 35aefe6 by action🐍