vault icon indicating copy to clipboard operation
vault copied to clipboard

add core state lock deadlock detection config option

Open troyready opened this issue 3 years ago • 1 comments

This was previously available via a build flag but will now be available as a configuration option.

This is an alternate approach to #17020 -- the UX and behavior is identical, but achieved in potentially a more straightforward way. Downside is relying on some global state.

troyready avatar Sep 09 '22 21:09 troyready

This looks good, except one concern I have. Doesn't the default config for Opts.OnPotentialDeadlock do an os.Exit(2)? We probably don't want that, right?

ncabatoff avatar Sep 12 '22 12:09 ncabatoff