groonga-query-log 1.7.7 → 1.7.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +7 -0
- data/lib/groonga-query-log/server-verifier.rb +11 -3
- data/lib/groonga-query-log/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e88b793ce2f1d7017538cc841f34de9baa96ce49f03f9a296e45490f2f2ca230
|
4
|
+
data.tar.gz: 1057e7582f8e5a518ea42c7fc3783d979507623e153b2fd5b2fca270e4b4f9b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 043af37403f9c09d0fe3b308ffa3438d726e864cf42b93ba6318f49a7f6878ab089bcea91a27742401e5b3d0f57d1c0c117a5bd7058be2497098475ca285943a
|
7
|
+
data.tar.gz: 592e9725ab2e49c5a85f5111d6c468c86fa51fb106c46f65e3373a9153d1675e05f8f6ad4b94bb29156c382d51102f2e6e91ed883a411d0c2dbecea2576f678d
|
data/doc/text/news.md
CHANGED
@@ -195,13 +195,21 @@ module GroongaQueryLog
|
|
195
195
|
# groonga2 is new Groonga.
|
196
196
|
response2 = nil
|
197
197
|
if @options.verify_cancel?
|
198
|
+
sleep_thread = nil
|
198
199
|
request = groonga2_client.execute(command) do |response|
|
199
200
|
response2 = response
|
201
|
+
sleep_thread.kill
|
200
202
|
end
|
203
|
+
|
201
204
|
# Randomize timing of sending request_cancel command
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
+
sleep_thread = Thread.new do
|
206
|
+
sleep(rand(0..@options.cancel_max_wait))
|
207
|
+
end
|
208
|
+
sleep_thread.join
|
209
|
+
unless response2
|
210
|
+
@options.groonga2.create_client do |cancel_client|
|
211
|
+
cancel_client.execute("request_cancel", id: command.request_id)
|
212
|
+
end
|
205
213
|
end
|
206
214
|
request.wait
|
207
215
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2012-
|
1
|
+
# Copyright (C) 2012-2024 Sutou Kouhei <kou@clear-code.com>
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -15,5 +15,5 @@
|
|
15
15
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
16
|
|
17
17
|
module GroongaQueryLog
|
18
|
-
VERSION = "1.7.
|
18
|
+
VERSION = "1.7.8"
|
19
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: groonga-query-log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: charty
|