refactor: max number of record that return

This commit is contained in:
Methapon2001 2023-11-27 13:46:00 +07:00
parent eed1a863d3
commit 9b2bff6ba5
No known key found for this signature in database
GPG key ID: 849924FEF46BD132
4 changed files with 9 additions and 2 deletions

View file

@ -132,6 +132,7 @@ export class SubFolderFileController extends Controller {
pathname: `${cabinetName}/${drawerName}/${folderName}/${subFolderName}`,
},
},
size: 10000,
});
const records = search.hits.hits