ssltool 0.0.21 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ssltool/adapters/sequel.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4472a75fa8f0e97477009255b5d63493419be0ee
|
4
|
+
data.tar.gz: 372db4c226471adadafae39da4ecbdd491f780ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc0539d2acac4367e8b09be3c99dc96932c5529fb182af8e036cef7e8adc1eca44f3c908a8ae5ce4842f8bcfd098c0f2f56c4078f6052e80ff6c7c9e4e942ec8
|
7
|
+
data.tar.gz: 884536b924704cdfbe0627a6ff8c1b74ffb36bd341635377d5c36f7d00faf45f75e45b095c97f9fdc6b70c400cf978410227476113878beadc5f8d454e63f667
|
@@ -16,7 +16,7 @@ module SSLTool
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def store_pool(pool_name, certs)
|
19
|
-
@database.transaction do
|
19
|
+
@database.transaction retry_on:Sequel::DatabaseDisconnectError, num_retries:3 do
|
20
20
|
current_set = load_pool(pool_name)
|
21
21
|
replacement_set = certs.to_set
|
22
22
|
delete_set = (current_set - replacement_set).map { |cert| { fingerprint:cert.fingerprint, pool:pool_name.to_s } }
|