You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Split non preserved user retrieval into smaller batches (#367)
Attempting to run on a large number of users can cause OOM due to
retrieval overheads. This adds bog-standard batching to fix this.
Has been tested on production (dry-run) to work as expected.
(awaitdb.QueryAsync<int>($"SELECT `user_id` FROM {databaseInfo.UserStatsTable} WHERE {Where} AND user_id > {lastUserId} ORDER BY user_id LIMIT {users_per_fetch}")).ToArray();
0 commit comments