gitlab_quality-test_tooling 3.20.0 → 3.20.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 16e76c285873fa517a3432827f9feae3b05e619532f5be6999fd59263abc71c6
|
|
4
|
+
data.tar.gz: 89cef526698da6a68dc7f814b846535a1d6967940acecaa6dcb87562b570a054
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b51b8e300fd0a6ef9edcd0463953e30805f4299fa784d19ecbb37482c4cd221a4a80d0d336c91ab9b8fcd65823dce11407613134176a31df2f2cda09333745cc
|
|
7
|
+
data.tar.gz: 78af01f5df6c8dc147ec0ded7353926fc7810b21feeda0e1c872924f738b6041deff8df8bcc55a5333edae3f669d85745d615354ab82403a8a4bef71f469454d
|
data/Gemfile.lock
CHANGED
|
@@ -12,6 +12,14 @@ module GitlabQuality
|
|
|
12
12
|
DEFAULT_BATCH_SIZE = 100_000
|
|
13
13
|
LOG_PREFIX = "[ClickHouse]"
|
|
14
14
|
|
|
15
|
+
# ClickHouse keeps executing a statement after the HTTP client hangs
|
|
16
|
+
# up, so a short read timeout turns a slow-but-succeeding query into a
|
|
17
|
+
# failed job while the work completes server-side anyway. Every caller
|
|
18
|
+
# is a batch job that can afford to wait for the real result; none is
|
|
19
|
+
# interactive.
|
|
20
|
+
OPEN_TIMEOUT = 10
|
|
21
|
+
READ_TIMEOUT = 600
|
|
22
|
+
|
|
15
23
|
def initialize(url:, database:, username: nil, password: nil, logger: ::Logger.new($stdout, level: 1))
|
|
16
24
|
@url = url
|
|
17
25
|
@database = database
|
|
@@ -102,7 +110,9 @@ module GitlabQuality
|
|
|
102
110
|
body: body,
|
|
103
111
|
headers: { "Content-Type" => content_type },
|
|
104
112
|
query: { database: database, **query_opts }.compact,
|
|
105
|
-
basic_auth: !!(username && password) ? { username: username, password: password } : nil
|
|
113
|
+
basic_auth: !!(username && password) ? { username: username, password: password } : nil,
|
|
114
|
+
open_timeout: OPEN_TIMEOUT,
|
|
115
|
+
read_timeout: READ_TIMEOUT
|
|
106
116
|
}.compact)
|
|
107
117
|
end
|
|
108
118
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitlab_quality-test_tooling
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.20.
|
|
4
|
+
version: 3.20.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GitLab Quality
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: climate_control
|