mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 12:21:18 +00:00
Upping default max_image_size from 256 to 512. (#5177)
- Context: https://github.com/LemmyNet/lemmy-ui/issues/2796
This commit is contained in:
parent
d6847c7951
commit
58f894800c
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@
|
||||||
# Timeout for uploading images to pictrs (in seconds)
|
# Timeout for uploading images to pictrs (in seconds)
|
||||||
upload_timeout: 30
|
upload_timeout: 30
|
||||||
# Resize post thumbnails to this maximum width/height.
|
# Resize post thumbnails to this maximum width/height.
|
||||||
max_thumbnail_size: 256
|
max_thumbnail_size: 512
|
||||||
}
|
}
|
||||||
# Email sending configuration. All options except login/password are mandatory
|
# Email sending configuration. All options except login/password are mandatory
|
||||||
email: {
|
email: {
|
||||||
|
|
|
@ -92,7 +92,7 @@ pub struct PictrsConfig {
|
||||||
pub upload_timeout: u64,
|
pub upload_timeout: u64,
|
||||||
|
|
||||||
/// Resize post thumbnails to this maximum width/height.
|
/// Resize post thumbnails to this maximum width/height.
|
||||||
#[default(256)]
|
#[default(512)]
|
||||||
pub max_thumbnail_size: u32,
|
pub max_thumbnail_size: u32,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue