1
0
Fork 0
forked from forgejo/forgejo

Minor naming improvement

This commit is contained in:
Unknwon 2016-08-17 16:10:07 -07:00
parent 2c5411b00c
commit ec332cf903
4 changed files with 47 additions and 45 deletions

View file

@ -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
}