Skip to content

Commit

Permalink
Updated default subqueue base delay to 0 (#497)
Browse files Browse the repository at this point in the history
* updated subqueue base delay to 0

Signed-off-by: Daniel Rammer <[email protected]>

* increases rate and capacit of queue and subqueue

Signed-off-by: Daniel Rammer <[email protected]>

Signed-off-by: Daniel Rammer <[email protected]>
Signed-off-by: Dan Rammer <[email protected]>
  • Loading branch information
hamersaw authored Dec 8, 2022
1 parent 24ce23c commit 6242e63
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions flytepropeller/pkg/controller/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
// type: batch
// queue:
// type: bucket
// rate: 20
// capacity: 100
// rate: 1000
// capacity: 10000
// sub-queue:
// type: bucket
// rate: 100
// capacity: 1000
// rate: 1000
// capacity: 10000
// # This config assumes using `make start` in flytesnacks repo to startup a DinD k3s container
// kube-config: "$HOME/kubeconfig/k3s/k3s.yaml"
// publish-k8s-events: true
Expand Down Expand Up @@ -67,15 +67,15 @@ var (
BatchSize: -1,
Queue: WorkqueueConfig{
Type: WorkqueueTypeMaxOfRateLimiter,
BaseDelay: config.Duration{Duration: time.Second * 5},
BaseDelay: config.Duration{Duration: time.Second * 0},
MaxDelay: config.Duration{Duration: time.Second * 60},
Rate: 100,
Capacity: 1000,
Rate: 1000,
Capacity: 10000,
},
Sub: WorkqueueConfig{
Type: WorkqueueTypeBucketRateLimiter,
Rate: 100,
Capacity: 1000,
Rate: 1000,
Capacity: 10000,
},
},
KubeConfig: KubeClientConfig{
Expand Down

0 comments on commit 6242e63

Please sign in to comment.