Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class · Ruby 3.2

DRb::TimerIdConv

< DRb::DRbIdConv 1 class methods

Timer id conversion keeps objects alive for a certain amount of time after their last access. The default time period is 600 seconds and can be changed upon initialization.

To use TimerIdConv:

Example
DRb.install_id_conv TimerIdConv.new 60 # one minute

Class methods 1