parent
027a91deab
commit
f2949a35a2
@ -0,0 +1,11 @@
|
||||
module Carto
|
||||
module CurrentRequest
|
||||
def self.request_id
|
||||
Thread.current[:request_id]
|
||||
end
|
||||
|
||||
def self.request_id=(request_id)
|
||||
Thread.current[:request_id] = request_id
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in new issue