aboutsummaryrefslogtreecommitdiffstats
path: root/cache/repo_cache.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-10-04 20:57:54 +0200
committerGitHub <noreply@github.com>2020-10-04 20:57:54 +0200
commitc738852af0b8b1013c7911f2c3d275446d9e8936 (patch)
tree0ebfbc122240736292338275a5b599abaa7d710b /cache/repo_cache.go
parent5d1fc3ff393133a8aa67b97f9beecfe9b57c7e56 (diff)
parent499dbc0a032ff28eea99e5308be9b6c8f2d208ad (diff)
downloadgit-bug-c738852af0b8b1013c7911f2c3d275446d9e8936.tar.gz
Merge pull request #417 from MichaelMure/remove-legacy-identity
identity: remove support for legacy identity
Diffstat (limited to 'cache/repo_cache.go')
-rw-r--r--cache/repo_cache.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cache/repo_cache.go b/cache/repo_cache.go
index 51302932..4fc88015 100644
--- a/cache/repo_cache.go
+++ b/cache/repo_cache.go
@@ -19,7 +19,8 @@ import (
// 1: original format
// 2: added cache for identities with a reference in the bug cache
-const formatVersion = 2
+// 3: no more legacy identity
+const formatVersion = 3
// The maximum number of bugs loaded in memory. After that, eviction will be done.
const defaultMaxLoadedBugs = 1000