rage-iodine 3.0.6 → 3.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/ext/iodine/fio.c +4 -1
- data/ext/iodine/iodine_helpers.c +0 -2
- data/lib/iodine/version.rb +1 -1
- 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: 28684763cfb5625db34047326c19994bf2968fd2f5887a7f10e7b981a02ffa06
|
4
|
+
data.tar.gz: a866b322b86952b229eb2535bc13304d1775ba91eb9465ea430f9316cca436d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 443787f38785ffdf9ddf4814e69008c3a4e5170a114ccd7a5594d326e2cdf0a4c737791db2a6966bae009e375a93e7b2d895dded05247c29559c085ec7590464
|
7
|
+
data.tar.gz: 6dd8d7ea2237bf3af87197874bb168b1129e35f0282c81edfa92c681d8d7aa338145b49d4c5bff32c6b0d7b4b780f5c52f4ce9e867654cad514362d78cbf7cb9
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,14 @@ Please notice that this change log contains changes for upcoming releases as wel
|
|
6
6
|
|
7
7
|
## Changes:
|
8
8
|
|
9
|
+
#### Change log v.3.0.8 (2024-04-12)
|
10
|
+
|
11
|
+
**Fix**: Correctly generate request tags in cluster mode.
|
12
|
+
|
13
|
+
#### Change log v.3.0.7 (2024-04-10)
|
14
|
+
|
15
|
+
**Fix**: Fix excessive CPU usage when using `run_every` on kqueue systems.
|
16
|
+
|
9
17
|
#### Change log v.3.0.6 (2024-03-14)
|
10
18
|
|
11
19
|
**Fix**: Fix `call_with_block` function's signature.
|
data/ext/iodine/fio.c
CHANGED
@@ -2191,7 +2191,7 @@ static size_t fio_poll(void) {
|
|
2191
2191
|
|
2192
2192
|
const struct timespec timeout = {
|
2193
2193
|
.tv_sec = (timeout_millisec / 1000),
|
2194
|
-
.tv_nsec = ((timeout_millisec
|
2194
|
+
.tv_nsec = ((timeout_millisec % 1000) * 1000000)};
|
2195
2195
|
/* wait for events and handle them */
|
2196
2196
|
int active_count =
|
2197
2197
|
kevent(evio_fd, NULL, 0, events, FIO_POLL_MAX_EVENTS, &timeout);
|
@@ -4641,6 +4641,9 @@ static void fio_worker_startup(void) {
|
|
4641
4641
|
fio_state_callback_clear(FIO_CALL_ON_START);
|
4642
4642
|
}
|
4643
4643
|
|
4644
|
+
/* used in `gen_request_tag` */
|
4645
|
+
srand(time(0) + (getpid() << 8));
|
4646
|
+
|
4644
4647
|
if (fio_data->workers == 1) {
|
4645
4648
|
/* Single Process - the root is also a worker */
|
4646
4649
|
fio_data->is_worker = 1;
|
data/ext/iodine/iodine_helpers.c
CHANGED
@@ -563,6 +563,4 @@ include non-patched methods as well.
|
|
563
563
|
rb_define_singleton_method(tmp, "rfc2109", iodine_rfc2109, 1);
|
564
564
|
rb_define_singleton_method(tmp, "rfc2822", iodine_rfc2822, 1);
|
565
565
|
// rb_define_module_function(IodineUtils, "time2str", date_str, -1);
|
566
|
-
|
567
|
-
srand(time(0));
|
568
566
|
}
|
data/lib/iodine/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rage-iodine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boaz Segev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|