Skip to content

Commit

Permalink
refactor: enable single queue by default so the controller listens to…
Browse files Browse the repository at this point in the history
… all queues
  • Loading branch information
shreddedbacon committed Nov 2, 2022
1 parent 7f88c45 commit 952ca13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/remote-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ jobs:
export HARBOR_API="http://harbor.$(kubectl get nodes -o jsonpath='{.items[0].status.addresses[0].address}').nip.io:32080/api"
export KIND_NODE_IP="$(kubectl get nodes -o jsonpath='{.items[0].status.addresses[0].address}')"
export HARBOR_VERSION=${{matrix.harbor}}
export ENABLE_SINGLE_QUEUE=true
# export ENABLE_SINGLE_QUEUE=true #true by default
# export GO111MODULE=on
make controller-test
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func main() {
"The number of workers to start with.")
flag.IntVar(&rabbitRetryInterval, "rabbitmq-retry-interval", 30,
"The retry interval for rabbitmq.")
flag.BoolVar(&enableSingleQueue, "enable-single-queue", false, "Flag to have this controller use the single queue option.")
flag.BoolVar(&enableSingleQueue, "enable-single-queue", true, "Flag to have this controller use the single queue option.")
flag.StringVar(&leaderElectionID, "leader-election-id", "lagoon-builddeploy-leader-election-helper",
"The ID to use for leader election.")
flag.StringVar(&pendingMessageCron, "pending-message-cron", "15,45 * * * *",
Expand Down

0 comments on commit 952ca13

Please sign in to comment.