Skip to content

Commit

Permalink
Upping default max_image_size from 256 to 512.
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed Nov 8, 2024
1 parent 39eeb2c commit d398d76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/defaults.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
# Timeout for uploading images to pictrs (in seconds)
upload_timeout: 30
# 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: {
Expand Down
2 changes: 1 addition & 1 deletion crates/utils/src/settings/structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub struct PictrsConfig {
pub upload_timeout: u64,

/// Resize post thumbnails to this maximum width/height.
#[default(256)]
#[default(512)]
pub max_thumbnail_size: u32,
}

Expand Down

0 comments on commit d398d76

Please sign in to comment.