mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-01-19 17:07:54 +00:00
next
This commit is contained in:
parent
cfecdb6acc
commit
18a8e777aa
2 changed files with 1 additions and 4 deletions
|
@ -3,9 +3,6 @@
|
||||||
package html
|
package html
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
|
||||||
"strconv"
|
|
||||||
|
|
||||||
"github.com/valyala/fasthttp"
|
"github.com/valyala/fasthttp"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ import (
|
||||||
|
|
||||||
func TestHandlerPerformance(t *testing.T) {
|
func TestHandlerPerformance(t *testing.T) {
|
||||||
giteaRoot := "https://codeberg.org"
|
giteaRoot := "https://codeberg.org"
|
||||||
giteaClient, _ := gitea.NewClient(giteaRoot, "")
|
giteaClient, _ := gitea.NewClient(giteaRoot, "", cache.NewKeyValueCache())
|
||||||
testHandler := Handler(
|
testHandler := Handler(
|
||||||
[]byte("codeberg.page"), []byte("raw.codeberg.org"),
|
[]byte("codeberg.page"), []byte("raw.codeberg.org"),
|
||||||
giteaClient,
|
giteaClient,
|
Loading…
Reference in a new issue