mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 07:36:01 +00:00
parent
0e6669f617
commit
1856e7c0ca
|
@ -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()?);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue