- (ui): improved client access check performance

This is still not ideal and if the disallowed clients list is huge
enough, the slowdown is considerable. But it's at least x10 or x100
times faster than it was.

Closes: #1920
This commit is contained in:
Andrey Meshkov
2020-07-24 13:45:46 +03:00
parent d2bf1e176e
commit 946bda37a3
3 changed files with 91 additions and 97 deletions

View File

@@ -134,7 +134,9 @@ lint-go:
golangci-lint run
test:
@echo Running unit-tests
@echo Running JS unit-tests
npm run test --prefix client
@echo Running Go unit-tests
go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic ./...
ci: dependencies client test