Detect new images added to the default image directory.

* Images can be present before the server starts or while it is running
* Images are recorded in the database
This commit is contained in:
grossmj committed 2022-04-17 16:58:20 +07:00
1 parent 6af1f2afaa
commit e6c8144210
5 files changed
+166 -15

No files matched your search

+1 -1
View File
@@ -506,7 +506,7 @@ class BaseManager:
"""
try:
return list_images(self._NODE_TYPE)
return await list_images(self._NODE_TYPE)
except OSError as e:
raise ComputeError(f"Can not list images {e}")