mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-24 23:26:44 -06:00
Improve perforance
This commit is contained in:
parent
2f598b8fa1
commit
b1655740df
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ const DriveFile = monkDb.get<IDriveFile>('driveFiles.files');
|
|||
DriveFile.createIndex('md5');
|
||||
DriveFile.createIndex('metadata.uri');
|
||||
DriveFile.createIndex('metadata.userId');
|
||||
DriveFile.createIndex('metadata.folderId');
|
||||
export default DriveFile;
|
||||
|
||||
export const DriveFileChunk = monkDb.get('driveFiles.chunks');
|
||||
|
|
Loading…
Reference in a new issue