Upping default max_image_size from 256 to 512. (#5177)

- Context: https://github.com/LemmyNet/lemmy-ui/issues/2796
This commit is contained in:
Dessalines 2024-11-08 07:29:48 -05:00 committed by GitHub
parent 39eeb2cbb3
commit 70b0d39475
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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: {

View file

@ -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,
} }