fix default value of alt svc ma

This commit is contained in:
Jun Kurihara 2022-07-18 15:59:54 +09:00
commit 9b7b5a4333
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
2 changed files with 4 additions and 4 deletions

View file

@ -16,14 +16,14 @@
echo "----------------------------"
echo "Benchmark on rpxy"
#wrk -t8 -c100 -d30s http://127.0.0.1:8080/index.html
rewrk -c 512 -t 4 -d 10s -h http://localhost:8080 --pct
rewrk -c 256 -t 4 -d 10s -h http://localhost:8080 --pct
echo "----------------------------"
echo "Benchmark on nginx"
# wrk -t8 -c100 -d30s http://127.0.0.1:8090/index.html
rewrk -c 512 -t 4 -d 10s -h http://localhost:8090 --pct
rewrk -c 256 -t 4 -d 10s -h http://localhost:8090 --pct
echo "----------------------------"
echo "Benchmark on caddy"
# wrk -t8 -c100 -d30s http://127.0.0.1:8100/index.html
rewrk -c 512 -t 4 -d 10s -h http://localhost:8100 --pct
rewrk -c 256 -t 4 -d 10s -h http://localhost:8100 --pct

View file

@ -10,4 +10,4 @@ pub const MAX_CONCURRENT_STREAMS: u32 = 32;
pub const CERTS_WATCH_DELAY_SECS: u32 = 30;
#[cfg(feature = "h3")]
pub const H3_ALT_SVC_MAX_AGE: u32 = 120;
pub const H3_ALT_SVC_MAX_AGE: u32 = 3600;