Skip to content

Commit

Permalink
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/apub/src/api/user_settings_backup.rs
Original file line number Diff line number Diff line change
@@ -404,7 +404,7 @@ mod tests {

let mut backup = export_settings(export_user.clone(), context.reset_request_count()).await?;

for _ in 0..251 {
for _ in 0..2501 {
backup
.followed_communities
.push("http://example.com".parse()?);
2 changes: 1 addition & 1 deletion crates/utils/src/error.rs
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ pub struct LemmyError {
}

/// Maximum number of items in an array passed as API parameter. See [[LemmyErrorType::TooManyItems]]
pub const MAX_API_PARAM_ELEMENTS: usize = 1000;
pub const MAX_API_PARAM_ELEMENTS: usize = 10_000;

impl<T> From<T> for LemmyError
where

0 comments on commit 1856e7c

Please sign in to comment.