Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

class · Ruby 3.3

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