shithub: front

Download patch

ref: e1854c96324dddac6911f1b49d16d83ba9e8831d
parent: ec028184cb8ceae024565bf68854316fd9e59180
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Aug 8 12:43:24 EDT 2025

auth/factotum: are we webscale yet?

when serving TLS, we often end up with more than 16 concurrent requests.
Increase the number of available srvs to take care of the work.

--- a/sys/src/cmd/auth/factotum/fs.c
+++ b/sys/src/cmd/auth/factotum/fs.c
@@ -492,7 +492,7 @@
 
 	fss = r->fid->aux;
 	srv = r->srv;
-	if(srv->sref.ref == 1 && srv->rref.ref > 16){
+	if(srv->sref.ref == 1 && srv->rref.ref > 256){
 		respond(r, "too much activity");
 		return;
 	}
--