public
Description: A Ruby web application framework
Homepage: http://www.mackframework.com
Clone URL: git://github.com/markbates/mack.git
Search Repo:
Click here to lend your support to: mack and make a donation at www.pledgie.com !
Merge branch 'master' of git@github.com:markbates/mack

* 'master' of git@github.com:markbates/mack:
  Set the timeout for distributed routes to 0 for registering new routes.
markbates (author)
Tue May 13 14:21:00 -0700 2008
commit  435f0531c8de9223cea3b186b58c1f4d4fb79ef8
tree    3b78706c680465d9ce94b918024b014e0c3838ca
parent  a030287aaa14adedf4562b46b7fe4d6c257ac8f1 parent  b43dc701be1d9a8afe2d61f666a63a38cb64a297
...
13
14
15
16
 
17
18
19
...
13
14
15
 
16
17
18
19
0
@@ -13,7 +13,7 @@
0
         def put
0
           Mack::Distributed::Utils::Rinda.register_or_renew(:space => app_config.mack.distributed_app_name.to_sym,
0
                                                             :klass_def => :distributed_routes,
0
- :object => self)
0
+ :object => self, :timeout => 0)
0
         end
0
         
0
         def run(meth, options)
...
9
10
11
12
 
13
14
15
...
9
10
11
 
12
13
14
15
0
@@ -9,7 +9,7 @@
0
           begin
0
             ring_server.take([options[:space], options[:klass_def], nil, nil], options[:timeout])
0
           rescue Exception => e
0
- puts e.message
0
+ # MACK_DEFAULT_LOGGER.error(e)
0
           end
0
           register(options)
0
         end

Comments

    No one has commented yet.