triglav-agent-bigquery 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/triglav/agent/bigquery/connection.rb +5 -1
- data/lib/triglav/agent/bigquery/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 357bd10b9b08577dbc370033df229e6d66b150f5
|
4
|
+
data.tar.gz: 6bb18d3759c31b62502c464e4e29ab125a0cf2b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aee756547fe4c6815769c8b950de6acf12d9293cb200c667f77bf7977ba9d7d6e080fa8511ebecfbf065eaea6ac6ef8bdc85c44826e9ee104c9977a9e3ce0c41
|
7
|
+
data.tar.gz: 3fdfccd06094162d7e5485a47c38ef1581e32705b21e74357ea99b0b2b277429da2f0c51221d4689f01f5cb022e37987cd11a7f8db263842fd0f295d55941764
|
data/CHANGELOG.md
CHANGED
@@ -190,7 +190,7 @@ module Triglav::Agent
|
|
190
190
|
break if res[:jobComplete]
|
191
191
|
sleep 3
|
192
192
|
|
193
|
-
if (Time.now - started).to_i >
|
193
|
+
if (Time.now - started).to_i > hard_timeout_sec
|
194
194
|
raise RuntimeError.new("Query is timeout")
|
195
195
|
end
|
196
196
|
end
|
@@ -288,6 +288,10 @@ module Triglav::Agent
|
|
288
288
|
def open_timeout_sec
|
289
289
|
@open_timeout_sec ||= ENV['OPEN_TIMEOUT_SEC'] || @connection_info.fetch(:open_timeout_sec, nil) || $setting.dig(:bigquery, :open_timeout_sec) || 300
|
290
290
|
end
|
291
|
+
|
292
|
+
def hard_timeout_sec
|
293
|
+
read_timeout_sec * 2
|
294
|
+
end
|
291
295
|
end
|
292
296
|
end
|
293
297
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: triglav-agent-bigquery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Triglav Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: triglav-agent
|
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
199
199
|
version: '0'
|
200
200
|
requirements: []
|
201
201
|
rubyforge_project:
|
202
|
-
rubygems_version: 2.
|
202
|
+
rubygems_version: 2.6.11
|
203
203
|
signing_key:
|
204
204
|
specification_version: 4
|
205
205
|
summary: BigQuery agent for triglav, data-driven workflow tool.
|