diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-03-17 18:00:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-17 18:00:10 +0000 |
commit | c2bd0b97b34c9040325bf31c5c4a2a06579239d9 (patch) | |
tree | 45af6cf66af901b1a285fb8be6f7db278bea4dcd /.golangci.yml | |
parent | 1467cc10d8bd40b9ea85bc4f0aa4644b16cb37bb (diff) |
Get room versions from database (#918)
* Retrieve room version where known in roomserver
* Get room versions in alias code
* Increase gocyclothreshold to 13, since we hit that number a lot
* Remove gocyclo nolint from StoreEvent
* Update interface to get room version from room ID instead of NID
* Remove new API
* Fixed this query for SQLite but not for Postgres
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml index 0d0f51bd..7fdd4d00 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -102,7 +102,7 @@ linters-settings: #local-prefixes: github.com/org/project gocyclo: # minimal code complexity to report, 30 by default (but we recommend 10-20) - min-complexity: 12 + min-complexity: 13 maligned: # print struct with more effective memory layout or not, false by default suggest-new: true |