evazion
ee5cd8330d
uploads: fix exception when pruning expired uploads.
...
Hourly pruning of expired uploads was failing because of nil deference
errors in `media_asset.destroy!`. There are various cases where an
upload doesn't have a media asset, for example when the source url
fails to download or when the upload is of an invalid filetype.
2021-09-22 13:24:27 -05:00
..
2021-03-01 02:38:18 -06:00
2021-09-20 02:09:14 -05:00
2020-12-16 23:57:07 -06:00
2020-12-16 23:57:07 -06:00
2021-03-08 01:30:02 -06:00
2021-06-17 04:17:53 -05:00
2021-03-07 21:07:44 -06:00
2021-06-17 04:17:53 -05:00
2021-09-20 01:12:14 -05:00
2021-06-17 04:17:53 -05:00
2021-06-17 04:17:53 -05:00
2021-06-17 04:17:53 -05:00
2021-03-10 03:08:49 -06:00
2021-09-06 03:24:53 -05:00
2021-03-07 21:15:33 -06:00
2020-12-16 23:57:07 -06:00
2021-06-17 04:17:53 -05:00
2021-08-15 02:16:56 -05:00
2021-03-10 03:08:49 -06:00
2021-06-17 04:17:53 -05:00
2021-03-01 20:13:14 -06:00
2021-06-17 04:17:53 -05:00
2021-03-01 20:13:14 -06:00
2021-09-22 11:17:28 -05:00
2021-09-16 00:25:21 -05:00
2021-09-17 19:06:52 -05:00
2021-01-16 02:19:25 -06:00
2021-03-10 03:08:49 -06:00
2021-06-17 04:17:53 -05:00
2021-06-17 04:17:53 -05:00
2020-12-16 23:57:07 -06:00
2021-09-22 00:34:28 -05:00
2021-06-17 04:17:53 -05:00
2021-06-17 04:17:53 -05:00
2021-06-28 06:04:14 -05:00
2021-08-31 21:11:07 -05:00
2021-06-17 04:17:53 -05:00
2021-06-17 04:17:53 -05:00
2021-06-17 04:17:53 -05:00
2021-09-22 00:34:28 -05:00
2021-01-29 02:22:23 -06:00
2021-09-22 11:12:50 -05:00
2021-03-05 16:47:20 -06:00
2021-09-01 00:55:19 -05:00
2021-09-20 16:29:38 -05:00
2021-09-20 01:12:14 -05:00
2021-09-20 16:29:38 -05:00
2021-06-17 04:17:53 -05:00
2021-09-22 13:24:27 -05:00
2021-01-22 02:58:30 +00:00
2021-06-17 04:17:53 -05:00
2021-06-17 04:17:53 -05:00
2021-03-01 20:13:14 -06:00
2021-09-06 03:25:03 -05:00
2021-06-17 04:17:53 -05:00
2021-06-17 04:17:53 -05:00
2021-06-17 04:17:53 -05:00