38563b0555
Currently there is no mechanism for deleting tasks on regular basis. This patch adds a new function that is called in the tasks_get_all function, so that everytime tasks lists are called, the function checks if tasks in the database have surpassed the expired_at value. If that is the case, then it sets the deleted value as 1 for all the expired tasks. Co-Authored-By: Mike Fedosin <mfedosin@mirantis.com> Implements https://review.openstack.org/#/c/324648/ Change-Id: I0bde982de948901f6bfbfab9e57cf84891c22052 |
||
---|---|---|
.. | ||
.placeholder | ||
bug-1537903-54b2822eac6cfc09.yaml | ||
deprecate-glance-api-opts-23bdbd1ad7625999.yaml | ||
make-task-api-admin-only-by-default-7def996262e18f7a.yaml | ||
new_image_filters-c888361e6ecf495c.yaml | ||
Prevent-removing-last-image-location-d5ee3e00efe14f34.yaml | ||
remove-osprofiler-paste-ini-options-c620dedc8f9728ff.yaml | ||
soft_delete-tasks-43ea983695faa565.yaml | ||
trust-support-registry-cfd17a6a9ab21d70.yaml |