We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4780e89 commit e157058Copy full SHA for e157058
1 file changed
lib/vault/client.rb
@@ -158,6 +158,12 @@ def pool
158
159
private :pool
160
161
+ # Shutdown any open pool connections. Pool will be recreated upon next request.
162
+ def shutdown
163
+ @nhp.shutdown()
164
+ @nhp = nil
165
+ end
166
+
167
# Creates and yields a new client object with the given token. This may be
168
# used safely in a threadsafe manner because the original client remains
169
# unchanged. The value of the block is returned.
0 commit comments