fix: language.Tag marshalling (#1110)

* fix(searchlimit): increase to 1000

* rafactor: remove unused return

* fix(user): marshalling of language tag

* fix(spooler): shuffle handlers on start

* fix(sql): reduce max open conns from 200 to 25 per pod

* chore(deps): google.golang.org/grpc and github.com/lib/pq

* chore(deps): update github.com/cockroachdb/cockroach-go/v2
This commit is contained in:
Silvan
2020-12-17 08:55:11 +01:00
committed by GitHub
parent 055cdf98ed
commit 584bcda108
14 changed files with 120 additions and 56 deletions

View File

@@ -187,7 +187,7 @@ func (repo *UserRepo) UserChanges(ctx context.Context, id string, lastSequence u
user, _ := repo.UserEvents.UserByID(ctx, change.ModifierID)
if user != nil {
if user.Human != nil {
change.ModifierName = user.DisplayName
change.ModifierName = user.Human.DisplayName
}
if user.Machine != nil {
change.ModifierName = user.Machine.Name