lib/rubyrep/configuration.rb in rubyrep-1.0.2 vs lib/rubyrep/configuration.rb in rubyrep-1.0.3

- old
+ new

@@ -35,10 +35,11 @@ :sequence_increment => 2, :left_sequence_offset => 0, :right_sequence_offset => 1, :replication_interval => 1, :auto_key_limit => 0, + :database_connection_timeout => 5, :rep_prefix => 'rr', :key_sep => '|', } @@ -107,9 +108,11 @@ # * :+left_sequence_offset+, +right_sequence_offset+: # Default sequence offset for the table in the according data base. # E. g. with a +sequence_increment+ of 2, an offset of 0 will produce even, # an offset of 1 will produce odd numbers. # * :+replication_interval+: time in seconds between replication runs + # * :+database_connection_timeout+: + # Time in seconds after which database connections time out. attr_reader :options # Merges the specified +options+ hash into the existing options def options=(options) @options ||= {} \ No newline at end of file