Add the ability to schedule storage object touching as a task

This commit is contained in:
Andrey Antukh 2024-04-16 14:52:37 +02:00
parent e27c0b2086
commit c3a0db2431
3 changed files with 62 additions and 9 deletions

View file

@ -271,7 +271,7 @@
(when (and (some? th1)
(not= (:media-id th1)
(:media-id th2)))
(sto/touch-object! storage (:media-id th1)))
(sto/touch-object! storage (:media-id th1) :async true))
th2))