Skip to content

Commit

Permalink
Increase a few limits a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
xSke committed Feb 12, 2024
1 parent 6ce774f commit bc4d443
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use tracing::{debug, error, info, instrument};

use crate::{hash::Hash, ImageKind, PKAvatarError};

const MAX_DIMENSION: u32 = 3000;
const MAX_DIMENSION: u32 = 4000;

pub struct ProcessOutput {
pub width: u32,
Expand Down
2 changes: 1 addition & 1 deletion src/pull.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use reqwest::{Client, ClientBuilder, StatusCode, Url};
use time::Instant;
use tracing::{error, instrument};

const MAX_SIZE: u64 = 4_000_000;
const MAX_SIZE: u64 = 8 * 1024 * 1024;

pub struct PullResult {
pub data: Vec<u8>,
Expand Down

0 comments on commit bc4d443

Please sign in to comment.