remove backoff assumption from Router

This commit is contained in:
Patricio Whittingslow
2026-07-29 11:32:26 -03:00
parent 564f277962
commit c97c5e17cf
5 changed files with 16 additions and 30 deletions
-2
View File
@@ -6,7 +6,6 @@ import (
"log"
"log/slog"
"os"
"time"
"github.com/soypat/lneto/http/httphi"
"github.com/soypat/lneto/http/httpraw"
@@ -30,7 +29,6 @@ func ExampleRouter_linux() {
ResponseHeaderMinBufferSize: 32, // Shared buffer with Request, not strictly necessary, especially if not sending headers.
RequestNumHeaderKVCap: numHeaderKV,
NormalizeOutgoingKeys: true,
Backoff: func(uint) time.Duration { return time.Millisecond },
Mux: &mux,
Logger: slog.Default(),
})