Skip to content

Commit

Permalink
removing op concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
willdavsmith committed Sep 21, 2023
1 parent fe03268 commit a82e9fc
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cmd/applications-rp/portableresource-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ server:
port: 8081
enableArmAuth: false
workerServer:
maxOperationConcurrency: 10
maxOperationConcurrency: 3
maxOperationRetryCount: 2
ucp:
kind: kubernetes
Expand Down
2 changes: 1 addition & 1 deletion cmd/applications-rp/portableresource-self-hosted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ server:
port: 8081
enableArmAuth: false
workerServer:
maxOperationConcurrency: 10
maxOperationConcurrency: 3
maxOperationRetryCount: 2
ucp:
kind: direct
Expand Down
2 changes: 1 addition & 1 deletion cmd/applications-rp/radius-cloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ server:
enableArmAuth: true
armMetadataEndpoint: "https://admin.api-dogfood.resources.windows-int.net/metadata/authentication?api-version=2015-01-01"
workerServer:
maxOperationConcurrency: 10
maxOperationConcurrency: 3
maxOperationRetryCount: 2
metricsProvider:
prometheus:
Expand Down
2 changes: 1 addition & 1 deletion cmd/applications-rp/radius-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ server:
port: 8080
enableArmAuth: false
workerServer:
maxOperationConcurrency: 10
maxOperationConcurrency: 3
maxOperationRetryCount: 2
ucp:
kind: kubernetes
Expand Down
2 changes: 1 addition & 1 deletion cmd/applications-rp/radius-self-hosted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ server:
port: 8080
enableArmAuth: false
workerServer:
maxOperationConcurrency: 10
maxOperationConcurrency: 3
maxOperationRetryCount: 2
ucp:
kind: direct
Expand Down
4 changes: 2 additions & 2 deletions deploy/Chart/templates/rp/configmaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ data:
host: "0.0.0.0"
port: 5443
workerServer:
maxOperationConcurrency: 10
maxOperationConcurrency: 3
maxOperationRetryCount: 2
ucp:
kind: kubernetes
Expand Down Expand Up @@ -85,7 +85,7 @@ data:
host: "0.0.0.0"
port: 5444
workerServer:
maxOperationConcurrency: 10
maxOperationConcurrency: 3
maxOperationRetryCount: 2
ucp:
kind: kubernetes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ The following are properties that can be specified for UCP:
| Key | Description | Example |
|-----|-------------|---------|
| port | the localhost port which provides system-level info | `2222` |
| maxOperationConcurrency | The maximum concurrency to process async request operations | `10` |
| maxOperationConcurrency | The maximum concurrency to process async request operations | `3` |
| maxOperationRetryCount | The maximum retry count to process async request operation | `2` |

### metricsProvider
Expand Down Expand Up @@ -210,7 +210,7 @@ server:
host: "0.0.0.0"
port: 5443
workerServer:
maxOperationConcurrency: 10
maxOperationConcurrency: 3
maxOperationRetryCount: 2
ucp:
kind: kubernetes
Expand Down
2 changes: 1 addition & 1 deletion pkg/armrpc/asyncoperation/worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import (

const (
// defaultMaxOperationConcurrency is the default maximum concurrency to process async request operation.
defaultMaxOperationConcurrency = 10
defaultMaxOperationConcurrency = 3

// defaultMaxOperationRetryCount is the default maximum retry count to process async operation.
defaultMaxOperationRetryCount = 3
Expand Down

0 comments on commit a82e9fc

Please sign in to comment.