To edit pages or tickets please login with username/password: aaf/aaf

Changeset 343 for trunk

Show
Ignore:
Timestamp:
05/06/08 12:00:06 (2 months ago)
Author:
jk
Message:

dont mess with allow_concurrency unless inside drb server

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plugin/acts_as_ferret/lib/ar_mysql_auto_reconnect_patch.rb

    r340 r343  
    77# in ActiveRecord, setting the verification_timeout to something less than 
    88# the interactive-timeout parameter; 14400 sec = 6 hours 
    9 ActiveRecord::Base.allow_concurrency = true 
    109ActiveRecord::Base.verification_timeout = 14400 
    1110ActiveRecord::Base.establish_connection 
  • trunk/plugin/acts_as_ferret/lib/ferret_server.rb

    r340 r343  
    6262      include(ActsAsFerret::Remote::UnixDaemon) 
    6363 
    64       require 'ar_mysql_auto_reconnect_patch' 
    6564 
    6665      ################################################################################ 
     
    6968      ################################################################################ 
    7069      def initialize 
     70        ActiveRecord::Base.allow_concurrency = true 
     71        require 'ar_mysql_auto_reconnect_patch' 
    7172        @cfg = ActsAsFerret::Remote::Config.new 
    7273        ActiveRecord::Base.logger = @logger = Logger.new(@cfg.log_file) 

To edit pages or tickets please login with username/password: aaf/aaf