From b4d3351efed69212c54ef53164d17eed7c5c8ed6 Mon Sep 17 00:00:00 2001 From: asonix Date: Fri, 21 Jul 2023 16:25:47 -0500 Subject: [PATCH] Update version, pict-rs.toml --- Cargo.lock | 2 +- Cargo.toml | 2 +- pict-rs.nix | 2 +- pict-rs.toml | 10 ++-------- 4 files changed, 5 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f670b0fb..9b705bc7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1620,7 +1620,7 @@ dependencies = [ [[package]] name = "pict-rs" -version = "0.4.1" +version = "0.4.2-rc.1" dependencies = [ "actix-form-data", "actix-rt", diff --git a/Cargo.toml b/Cargo.toml index 050acc94..5009c966 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pict-rs" description = "A simple image hosting service" -version = "0.4.1" +version = "0.4.2-rc.1" authors = ["asonix "] license = "AGPL-3.0" readme = "README.md" diff --git a/pict-rs.nix b/pict-rs.nix index 85c9f1ca..cc60f715 100644 --- a/pict-rs.nix +++ b/pict-rs.nix @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage { pname = "pict-rs"; - version = "0.4.1"; + version = "0.4.2-rc.1"; src = ./.; cargoLock = { diff --git a/pict-rs.toml b/pict-rs.toml index f47a156b..859a46d5 100644 --- a/pict-rs.toml +++ b/pict-rs.toml @@ -24,13 +24,7 @@ api_key = 'API_KEY' # environment variable: PICTRS__SERVER__CLIENT_POOL_SIZE # default: 100 # -# This number is multiplied the number of cores available to pict-rs. Running on a 2 core machine -# with the default value will result in 200 pooled connections. Running on a 32 core machine with -# the default value will result in 3200 pooled connections. -# -# This number can be lowered to keep pict-rs within ulimit bounds if you encounter errors related to -# "Too many open files". Alternatively, increasing the ulimit of your system can solve this problem -# as well. +# Sets the maximum number of allowed idle connections per-host. client_pool_size = 100 @@ -69,7 +63,7 @@ targets = 'warn,tracing_actix_web=info,actix_server=info,actix_web=info' # # services: # pictrs: -# image: asonix/pictrs:0.4.1 +# image: asonix/pictrs:0.4 # ports: # - "127.0.0.1:8080:8080" # - "127.0.0.1:6669:6669" # this is the line that exposes console