7 Commits

Author SHA1 Message Date
Sean Chittenden
455b76828f Add a *log.Logger argument to physical.Factory
Logging in the backend is a good thing.  This is a noisy interface change but should be a functional noop.
2016-04-25 20:10:32 -07:00
Jeff Mitchell
e0d2b1af78 Add configuration parameter for max parallel connections to Consul 2015-11-03 15:26:07 -05:00
Jeff Mitchell
05810ae786 Address review feedback 2015-11-03 14:48:05 -05:00
Jeff Mitchell
867563de0d Add a PermitPool to physical and consul/inmem
The permit pool controls the number of outstanding operations that can
be queued for Consul (and inmem, for testing purposes). This prevents
possible situations where Vault launches thousands of concurrent
connections to Consul if e.g. a huge number of leases need to be
expired.

Fixes #677
2015-11-03 11:49:20 -05:00
Armon Dadgar
6a035407be physical: Expose the Inmem implementation 2015-03-05 13:57:30 -08:00
Armon Dadgar
ce7d02f3b0 physical: Factory constructor style for backends 2015-03-05 13:47:10 -08:00
Armon Dadgar
f4e5b10952 physical: Adding interface, in-mem implementation, and skeleton for Consul/File 2015-03-02 10:48:53 -08:00