Limited backlog
This commit is contained in:
@@ -66,7 +66,8 @@ const chat = io => {
|
|||||||
},
|
},
|
||||||
order: [
|
order: [
|
||||||
['id', 'ASC']
|
['id', 'ASC']
|
||||||
]
|
],
|
||||||
|
limit: 50
|
||||||
})
|
})
|
||||||
.then(rows => rows.map(row => row.dataValues))
|
.then(rows => rows.map(row => row.dataValues))
|
||||||
.then(rows => rows.filter(row => {
|
.then(rows => rows.filter(row => {
|
||||||
|
|||||||
Reference in New Issue
Block a user