Uploads seem to be getting trashed in prod


(Arran Scott) #1

I’m using the create_for method on the Upload class, which creates a row in the uploads table amongst other things. I’m saving the id of the upload to a table i’ve created yet after a couple of days or so the upload seems to get trashed and no longer exists.

I’m not touching or updating the live site in any way. Is there a job that runs that deletes uploads or something of the like?


(Rafael dos Santos Silva) #2

Read the Site Setting clean up uploads.


(Arran Scott) #3

Ok, thanks - didn’t see that!


(Rafael dos Santos Silva) #4