uselagoon / remote-controller

A group of controllers for handling Lagoon builds and tasks in Kubernetes or Openshift
5 stars 1 forks source link

refactor: pull from queue and process to continue handling deletions #175

Closed shreddedbacon closed 2 years ago

shreddedbacon commented 2 years ago

Checklist

Previously deletions would only be processed one by one by the controller, this would delay the deletion of subsequent environments while waiting for others to be processed.

Now it runs the deletion in a separate goroutine, so that processing of other deletions can occur.

Closing issues

closes #166