enable default sla for slaDrain

This commit is contained in:
lenhattan86 2021-11-01 15:34:43 -07:00
parent fff2c16751
commit c32b58dc5d
3 changed files with 68 additions and 0 deletions

View file

@ -129,6 +129,15 @@ var defaultBackoff = Backoff{
Jitter: 0.1,
}
var defaultSlaPolicy = aurora.SlaPolicy{
PercentageSlaPolicy: &aurora.PercentageSlaPolicy{
Percentage: 66,
DurationSecs: 300,
},
}
const defaultSlaDrainTimeoutSecs = 900
// ClientOption is an alias for a function that modifies the realis config object
type ClientOption func(*config)