tapsoob 0.7.15 → 0.7.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/tapsoob/cli/data_stream.rb +7 -0
- data/lib/tapsoob/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fa06cf4e6f87d711d4f15d9a5c43e280e40a8f847686238ddb43f75cce3d396e
|
|
4
|
+
data.tar.gz: 1c3433acc80cd43dd21846be0a67e33f2966cf7be07f6b9336702a7867c6f7b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e989dc986ec8ec6e37b18cdbe8e32fc6b6de5d9acbb17ccd9382f0fbb4aeb791d5e92535aeeb43592d468b390e6a5d32160227ba130d686b3741b021215e4e73
|
|
7
|
+
data.tar.gz: 1d663ab0db9ac3468dcefa556dd772984fd49ae1af121ed4530fe464c4d3e98d29db61e4cedde925cb2046e19871ec7ed3dfcf71aaf7d51b70f3ee65ccb45800
|
|
@@ -60,6 +60,13 @@ module Tapsoob
|
|
|
60
60
|
|
|
61
61
|
conn = Sequel.connect(database_url)
|
|
62
62
|
begin
|
|
63
|
+
if conn.uri =~ /mysql/i
|
|
64
|
+
conn.run("SET SESSION wait_timeout=28800")
|
|
65
|
+
conn.run("SET SESSION interactive_timeout=28800")
|
|
66
|
+
conn.run("SET SESSION net_read_timeout=3600")
|
|
67
|
+
conn.run("SET SESSION net_write_timeout=3600")
|
|
68
|
+
end
|
|
69
|
+
|
|
63
70
|
conn[table_name.to_sym].truncate if opts[:purge]
|
|
64
71
|
|
|
65
72
|
stream = Tapsoob::DataStream::Base.factory(conn, {
|
data/lib/tapsoob/version.rb
CHANGED