mirror of
https://github.com/djhackersdev/minime.git
synced 2026-09-08 10:35:36 -05:00
chuni: limit response size of getUserActivity
This commit is contained in:
parent
4f5eb97309
commit
4fe69077fc
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user