Jeff Mitchell
c6721d23ad
Add faultPseudo for testing
2017-02-20 11:08:03 -05:00
Jeff Mitchell
8f6c23a131
Final rep porting ( #2392 )
2017-02-17 09:15:35 -05:00
Jeff Mitchell
8d4dbf3fb0
Actually give the logger to inmem backend
2016-12-15 15:48:51 -05:00
Jeff Mitchell
68345eb770
Convert to logxi
2016-08-21 18:13:37 -04:00
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