Commit 00c0201c authored by travis79's avatar travis79
Browse files

Increase default experiments bucket count from 100 to 1000

parent 3dba3b0d
......@@ -42,7 +42,7 @@ internal data class Experiment(
) {
/**
* Object containing a bucket range to match users.
* Every user is in one of 100 buckets (0-99).
* Every user is in one of 1000 buckets (0-999).
*/
data class Buckets(
/**
......@@ -50,7 +50,7 @@ internal data class Experiment(
*/
val start: Int,
/**
* The number of buckets to match from start. If (start + count >= 99), evaluation will
* The number of buckets to match from start. If (start + count >= 999), evaluation will
* wrap around.
*/
val count: Int
......
......@@ -283,7 +283,7 @@ internal class ExperimentEvaluator(
companion object {
private const val LOG_TAG = "experiments"
const val MAX_USER_BUCKET = 100
const val MAX_USER_BUCKET = 1000
// This stores a boolean; whether an experiment is active or not.
@VisibleForTesting(otherwise = VisibleForTesting.PRIVATE)
const val PREF_NAME_OVERRIDES_ENABLED = "mozilla.components.service.experiments.overrides.enabled"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment