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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97aba2242f36a1ed75614e9722004d0ae730df41a4bd964d3cc08f3b1c9155a3
4
- data.tar.gz: f28d5c5cba986ed39cdb197054879e2d1bcbb16f074b110093f571044da843d1
3
+ metadata.gz: 28684763cfb5625db34047326c19994bf2968fd2f5887a7f10e7b981a02ffa06
4
+ data.tar.gz: a866b322b86952b229eb2535bc13304d1775ba91eb9465ea430f9316cca436d2
5
5
  SHA512:
6
- metadata.gz: 2c55356761cf8e8467233a2c73cb866f8956655d9069c827d1c56354b45451e8447d7bdcca66ac6727d035fe4b2b70fa5bb8e76831ba28773a4952b2e58cde42
7
- data.tar.gz: d044938f40f8784c42f7b8e6d610b1b975caf41caf8e79f29c739d9d9bfe24fd0d6fda115b6cbb0c37e898f86e997deb117c03f79f89ab5a8ab939270a12de6f
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 & (~1023UL)) * 1000000)};
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;
@@ -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
  }
@@ -1,3 +1,3 @@
1
1
  module Iodine
2
- VERSION = '3.0.6'.freeze
2
+ VERSION = '3.0.8'.freeze
3
3
  end
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.6
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-03-14 00:00:00.000000000 Z
11
+ date: 2024-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake