Set instance count to 20
to allow scheduling of SLA aware jobs
Addtional changes include update settings to `10` instances and increasing `go test` _timeout_ to `15m`.
This commit is contained in:
parent
9ed7690de1
commit
01fec6e124
5 changed files with 86 additions and 17 deletions
6
job.go
6
job.go
|
@ -56,7 +56,7 @@ type Job interface {
|
|||
MaxFailure(maxFail int32) Job
|
||||
Container(container Container) Job
|
||||
PartitionPolicy(policy *aurora.PartitionPolicy) Job
|
||||
Tier(tier *string) Job
|
||||
Tier(tier string) Job
|
||||
SlaPolicy(policy *aurora.SlaPolicy) Job
|
||||
}
|
||||
|
||||
|
@ -326,8 +326,8 @@ func (j *AuroraJob) PartitionPolicy(policy *aurora.PartitionPolicy) Job {
|
|||
}
|
||||
|
||||
// Set the Tier for the Job.
|
||||
func (j *AuroraJob) Tier(tier *string) Job {
|
||||
j.jobConfig.TaskConfig.Tier = tier
|
||||
func (j *AuroraJob) Tier(tier string) Job {
|
||||
j.jobConfig.TaskConfig.Tier = &tier
|
||||
|
||||
return j
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue