hand

finger proxy server
Log | Files | Refs | README

commit 1df9b2c55d2bbed93587f7634a75b8493cb6dfd5
parent 4d826322d4412d19bf31d88093c51320b5b1ee89
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Thu,  2 Dec 2021 19:50:22 -0800

reduce timeout

Diffstat:
Msrc/main.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs @@ -73,7 +73,7 @@ fn post(req: Request) -> String { } let finger_url = format!("finger://{}/{}", host, user); let response = fingers::finger(user, host) - .timeout(10) + .timeout(1) .max_response_len(1024 * 10) .send() .unwrap_or("![Error reaching server]".to_owned());