Skip to content

Delete attachments in queue with infinite timeout and ensure object.data.url is an array

Roman Chvanikov requested to merge fix/attachments-cleanup into develop

Attachments cleanup for an activity requires running a heavy query, so timeouts are possible on large instances. This MR moves attachments cleanup in a queue (Oban) and adds infinite timeout the attachments lookup query. The MR also fixes an issue when there are objects with non-array urls in database.

Edited by Roman Chvanikov

Merge request reports