Clarify storage limits and unify file metadata displays
This commit is contained in:
@@ -151,6 +151,12 @@ try {
|
||||
);
|
||||
assert.equal(settings.maxConcurrentUploads, 3);
|
||||
assert.deepEqual(settings.blockedCountries, ['CN']);
|
||||
const contexts = JSON.parse(
|
||||
node(
|
||||
`import Database from 'better-sqlite3'; const db=new Database('/data/database/hop.sqlite');console.log(JSON.stringify(db.prepare('SELECT count(*) AS count FROM file_upload_contexts').get()));db.close();`,
|
||||
),
|
||||
);
|
||||
assert.ok(contexts.count > 0, 'per-file upload location snapshots survive restart');
|
||||
}
|
||||
const preservedText = JSON.parse(
|
||||
node(
|
||||
|
||||
Reference in New Issue
Block a user