mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
dialogs: load only 20 routes at start
This commit is contained in:
parent
b108b1abc9
commit
09658b8126
4 changed files with 12 additions and 23 deletions
|
@ -9,7 +9,7 @@ module.exports = async (req, res) => {
|
|||
path: 'routes',
|
||||
select: '_id title distance owner updated_at',
|
||||
options: {
|
||||
limit: 100,
|
||||
limit: 20,
|
||||
sort: { updated_at: -1 },
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue