mirror of
https://github.com/djhackersdev/minime.git
synced 2026-07-19 16:51:33 -05:00
chuni: limit response size of getUserActivity
This commit is contained in:
parent
b3395334a3
commit
87d83c5cee
|
|
@ -29,7 +29,8 @@ export class SqlUserActivityRepository implements UserActivityRepository {
|
|||
.from("cm_user_activity")
|
||||
.where("profile_id", profileId)
|
||||
.where("kind", kind)
|
||||
.orderBy("sort_number DESC");
|
||||
.orderBy("sort_number DESC")
|
||||
.limit(100);
|
||||
|
||||
const rows = await this._txn.fetchRows(stmt);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user