diff options
author | Michael Muré <batolettre@gmail.com> | 2020-08-27 14:20:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 14:20:07 +0200 |
commit | 324fe3b7a5f7281d0189294ca41ec64f37767210 (patch) | |
tree | e1475c94b3f89ffbd7b756cd23251d1b523313d7 /cache/bug_cache.go | |
parent | 60466f86c8d4fc103ce87953b8d117d75f264fdf (diff) | |
parent | 98a1d831f0672f118ccded5411027e4aad4cae94 (diff) | |
download | git-bug-324fe3b7a5f7281d0189294ca41ec64f37767210.tar.gz |
Merge pull request #449 from MichaelMure/lru-cache
LRU Cache
Diffstat (limited to 'cache/bug_cache.go')
-rw-r--r-- | cache/bug_cache.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cache/bug_cache.go b/cache/bug_cache.go index 8365b3f9..ca526f7b 100644 --- a/cache/bug_cache.go +++ b/cache/bug_cache.go @@ -37,8 +37,6 @@ func (c *BugCache) Snapshot() *bug.Snapshot { } func (c *BugCache) Id() entity.Id { - c.mu.RLock() - defer c.mu.RUnlock() return c.bug.Id() } |