This commit is contained in:
6543 2022-07-21 22:00:06 +02:00
parent cfecdb6acc
commit 18a8e777aa
No known key found for this signature in database
GPG key ID: C99B82E40B027BAE
2 changed files with 1 additions and 4 deletions

View file

@ -3,9 +3,6 @@
package html
import (
"bytes"
"strconv"
"github.com/valyala/fasthttp"
)

View file

@ -15,7 +15,7 @@ import (
func TestHandlerPerformance(t *testing.T) {
giteaRoot := "https://codeberg.org"
giteaClient, _ := gitea.NewClient(giteaRoot, "")
giteaClient, _ := gitea.NewClient(giteaRoot, "", cache.NewKeyValueCache())
testHandler := Handler(
[]byte("codeberg.page"), []byte("raw.codeberg.org"),
giteaClient,