Closed benhoyt closed 2 months ago
This change avoids the need to lock/unlock state when fetching restart.Pending(), avoiding the need for one state lock/unlock on every HTTP request. (We hope to get rid of the other lock/unlock by removing warnings, but that's a separate issue.)
restart.Pending()
Updates https://github.com/canonical/pebble/issues/366
This change avoids the need to lock/unlock state when fetching
restart.Pending()
, avoiding the need for one state lock/unlock on every HTTP request. (We hope to get rid of the other lock/unlock by removing warnings, but that's a separate issue.)Updates https://github.com/canonical/pebble/issues/366