forked from mirror/misskey
Improve perforance
This commit is contained in:
parent
2f598b8fa1
commit
b1655740df
@ -12,6 +12,7 @@ const DriveFile = monkDb.get<IDriveFile>('driveFiles.files');
|
|||||||
DriveFile.createIndex('md5');
|
DriveFile.createIndex('md5');
|
||||||
DriveFile.createIndex('metadata.uri');
|
DriveFile.createIndex('metadata.uri');
|
||||||
DriveFile.createIndex('metadata.userId');
|
DriveFile.createIndex('metadata.userId');
|
||||||
|
DriveFile.createIndex('metadata.folderId');
|
||||||
export default DriveFile;
|
export default DriveFile;
|
||||||
|
|
||||||
export const DriveFileChunk = monkDb.get('driveFiles.chunks');
|
export const DriveFileChunk = monkDb.get('driveFiles.chunks');
|
||||||
|
Loading…
Reference in New Issue
Block a user