diff --git a/src/chunithm/sql/userActivity.ts b/src/chunithm/sql/userActivity.ts index 0fcad19..39446f0 100644 --- a/src/chunithm/sql/userActivity.ts +++ b/src/chunithm/sql/userActivity.ts @@ -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);