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 !
Set the timeout for distributed routes to 0 for registering new routes.
markbates (author)
Tue May 13 10:54:56 -0700 2008
commit  b43dc701be1d9a8afe2d61f666a63a38cb64a297
tree    7ea092d8dd30577029678ab29262bdc4bcf3aa0a
parent  d151d9e2bdd2dd0c2286444bb837f8597a2e1c19
...
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.