Skip to content

Commit 56ea5c0

Browse files
committed
Namespace Timeout Ractor storage internally
1 parent 295667a commit 56ea5c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/timeout.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def initialize
6868
# 1. Ractor.store_if_absent is available
6969
# 2. Method object can be shareable (4.0~)
7070
def self.instance
71-
Ractor.store_if_absent :timeout_gem_state do
71+
Ractor.store_if_absent :"\0timeout_gem_state" do
7272
State.new
7373
end
7474
end

0 commit comments

Comments
 (0)