We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe40e45 commit eea56daCopy full SHA for eea56da
enterprise/coderd/coderd.go
@@ -808,6 +808,10 @@ func (api *API) runEntitlementsLoop(ctx context.Context) {
808
// coderd is shutting down. In this case, post a pubsub message to
809
// tell other coderd's to resync their entitlements. This is required to
810
// make sure things like replica counts are updated in the UI.
811
+ // Ignore the error, as this is just a best effort. If it fails,
812
+ // the system will eventually recover as replicas timeout
813
+ // if their heartbeats stop. The best effort just trys to update the
814
+ // UI faster if it succeeds.
815
_ = api.Pubsub.Publish(PubsubEventLicenses, []byte("going away"))
816
}()
817
for {
0 commit comments