mirror of
https://github.com/hashicorp/vault.git
synced 2026-04-28 01:28:14 -04:00
Add some commenting to PermitPool
This commit is contained in:
parent
1fa62b3fb3
commit
4e4693e5de
1 changed files with 1 additions and 2 deletions
|
|
@ -130,8 +130,7 @@ var builtinBackends = map[string]Factory{
|
|||
"swift": newSwiftBackend,
|
||||
}
|
||||
|
||||
// PermitPool is a wrapper around a semaphore library to keep things
|
||||
// agnostic
|
||||
// PermitPool is used to limit maximum outstanding requests
|
||||
type PermitPool struct {
|
||||
sem chan int
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue