git: 9front

Download patch

ref: e3c1656d562b3634bccf5ac92538ac23197c4501
parent: 9b69f546334e94ec191d35b15dcaace98fbdcb1b
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;
 	}
--