Object Storage: remove background_upload code paths in Rails code base
A follow up of #1689 (closed)
After the configurations have been removed for one major release, it's time to remove anything related to the background_upload. The escape hatch environment variable should be disabled by default. The direct upload code paths still exist and its configuration is still set to true by default.
Steps
This cleanup will touch a lot of files. To make the amount of change manageable we will use the following approach.
-
Make sure direct_upload
andbackground_upload
are always hard-coded to true and false respectively -
Remove tests for cases direct_upload: false
orbackground_upload: true
-
Remove direct_upload
andbackground_upload
configuration and all code that depends on it
Edited by Jacob Vosmaer