Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Change order of ConsistencyMasterSlave parameters #286

Merged
merged 1 commit into from

2 participants

Clément Garnier Manuel Laflamme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 26, 2014
  1. Clément Garnier
This page is out of date. Refresh to see the latest.
16 nrv-core/src/main/scala/com/wajam/nrv/consistency/ConsistencyMasterSlave.scala
View
@@ -37,13 +37,17 @@ import com.wajam.nrv.utils.timestamp.{Timestamp, TimestampGenerator}
*/
class ConsistencyMasterSlave(val timestampGenerator: TimestampGenerator,
val consistencyPersistence: ConsistencyPersistence,
- txLogDir: String, txLogEnabled: Boolean,
- txLogRolloverSize: Int = 50000000, txLogCommitFrequency: Int = 5000,
+ txLogDir: String,
+ txLogEnabled: Boolean,
+ txLogRolloverSize: Int = 50000000,
+ txLogCommitFrequency: Int = 5000,
timestampTimeoutExtraDelay: Int = 250,
- replicationTps: Int = 50, replicationWindowSize: Int = 20,
- replicationSessionIdleTimeout: Long = 30000L, replicationOpenSessionDelay: Long = 5000,
- replicationResolver: Option[Resolver] = None,
- maxReplicaLagSeconds: Int = 0)
+ maxReplicaLagSeconds: Int = 0,
+ replicationTps: Int = 50,
+ replicationWindowSize: Int = 20,
+ replicationSessionIdleTimeout: Long = 30000L,
+ replicationOpenSessionDelay: Long = 5000,
+ replicationResolver: Option[Resolver] = None)
extends Consistency with Logging {
import SlaveReplicationManagerProtocol._
Something went wrong with that request. Please try again.