diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-31 21:40:18 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-31 21:40:18 +0000 |
commit | 2d170da497624eac5deb2b95ca1f3c7b83172a1a (patch) | |
tree | 28dbdf264381dda75450b985738379f8566bc95f | |
parent | 16220d9abbb9ef23b0049b63186da8b814f71a37 (diff) | |
download | ruby-2d170da497624eac5deb2b95ca1f3c7b83172a1a.tar.gz |
* lib/drb/drb.rb: [DOC] Add note about start_service for each process
Based on a patch by @rosenfeld [Fixes GH-514] [ci skip]
https://github.com/ruby/ruby/pull/514
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/drb/drb.rb | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Sat Feb 1 06:38:51 2014 Zachary Scott <e@zzak.io> + + * lib/drb/drb.rb: [DOC] Add note about start_service for each process + Based on a patch by @rosenfeld [Fixes GH-514] [ci skip] + https://github.com/ruby/ruby/pull/514 + Sat Feb 1 06:30:20 2014 Zachary Scott <e@zzak.io> * error.c: [DOC] Document Exception#cause by @jasonrclark [ci skip] diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb index 97965228bb..ff1d3a53d3 100644 --- a/lib/drb/drb.rb +++ b/lib/drb/drb.rb @@ -177,6 +177,9 @@ require 'drb/eq' # # Not necessary for this small example, but will be required # # as soon as we pass a non-marshallable object as an argument # # to a dRuby call. +# # +# # Note: this must be called at least once per process to take any effect. +# # This is particularly important if your application forks. # DRb.start_service # # timeserver = DRbObject.new_with_uri(SERVER_URI) |