D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
gems
/
celluloid-0.15.2
/
lib
/
celluloid
/
Filename :
call_chain.rb
back
Copy
module Celluloid class CallChain def self.current_id=(value) Thread.current[:celluloid_chain_id] = value task = Thread.current[:celluloid_task] task.chain_id = value if task end def self.current_id Thread.current[:celluloid_chain_id] end end end