Add defaults for CI

This commit is contained in:
Till Faelligen 2022-09-27 17:23:27 +02:00
parent 917a36d0b8
commit 392e70e26a
No known key found for this signature in database
GPG key ID: 3DF82D8AB9211D4E

View file

@ -5,10 +5,11 @@ import (
"fmt" "fmt"
"path/filepath" "path/filepath"
"github.com/matrix-org/dendrite/setup/config"
"github.com/matrix-org/gomatrixserverlib" "github.com/matrix-org/gomatrixserverlib"
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
"gopkg.in/yaml.v2" "gopkg.in/yaml.v2"
"github.com/matrix-org/dendrite/setup/config"
) )
func main() { func main() {
@ -82,6 +83,12 @@ func main() {
EnableInbound: true, EnableInbound: true,
EnableOutbound: true, EnableOutbound: true,
} }
cfg.SyncAPI.Fulltext = config.Fulltext{
Enabled: true,
IndexPath: config.Path(filepath.Join(*dirPath, "fulltextindex")),
InMemory: true,
Language: "en",
}
} }
} else { } else {
var err error var err error