forked from forgejo/forgejo
Minor naming improvement
This commit is contained in:
parent
2c5411b00c
commit
ec332cf903
4 changed files with 47 additions and 45 deletions
|
@ -24,6 +24,8 @@ type SingleInstancePool struct {
|
|||
// count maintains the number of times an instance with same identity checks in
|
||||
// to the pool, and should be reduced to 0 (removed from map) by checking out
|
||||
// with same number of times.
|
||||
// The purpose of count is to delete lock when count down to 0 and recycle memory
|
||||
// from map object.
|
||||
count map[string]int
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue