Skip to content

Commit

Permalink
Possible fix for #132
Browse files Browse the repository at this point in the history
  • Loading branch information
boazsegev committed Dec 2, 2022
1 parent d50378f commit 1840a84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/iodine/fio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ static void fio_defer_thread_wait(void) {
if (fio_defer_has_queue())
pthread_setspecific(static_throttle_key, (void *)1);
else if (static_throttle < FIO_DEFER_THROTTLE_LIMIT)
pthread_setspecific(static_throttle_key, (void *)(static_throttle << 1));
pthread_setspecific(static_throttle_key, (void *)((static_throttle << 1) | 1));
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/iodine/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Iodine
VERSION = '0.7.50'.freeze
VERSION = '0.7.51'.freeze
end

0 comments on commit 1840a84

Please sign in to comment.