Revert "feat: configurable upload batch size for reverse proxy compatibility"

This commit is contained in:
Paul Nothaft
2026-03-05 22:16:28 +01:00
committed by GitHub
parent 424336340b
commit cc4503ad28
7 changed files with 1 additions and 155 deletions
@@ -1,20 +0,0 @@
exports.up = async function(knex) {
const exists = await knex('app_settings')
.where({ setting_key: 'general_max_upload_batch_size_mb' })
.first();
if (!exists) {
await knex('app_settings').insert({
setting_key: 'general_max_upload_batch_size_mb',
setting_value: JSON.stringify(95),
setting_type: 'general',
updated_at: new Date()
});
}
};
exports.down = async function(knex) {
await knex('app_settings')
.where({ setting_key: 'general_max_upload_batch_size_mb' })
.del();
};