Changeset 327 for trunk/lib

Show
Ignore:
Timestamp:
08/10/08 03:34:20 (5 months ago)
Author:
gethema..@gmail.com
Message:

sync code with git

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/backgroundrb/bdrb_cluster_connection.rb

    r326 r327  
    137137      end 
    138138      raise NoServerAvailable.new("No BackgrounDRb server is found running") unless succeeded 
     139      return options[:worker_key] 
    139140    end 
    140141 
  • trunk/lib/backgroundrb/bdrb_connection.rb

    r326 r327  
    149149        @mutex.synchronize { bdrb_response = read_from_bdrb() } 
    150150        close_connection 
    151         return bdrb_response[:data] 
     151        bdrb_response ? bdrb_response[:data] : nil 
    152152      end 
    153153    end