MCPcopy Create free account
hub / github.com/coder/coder / enablePanic

Method enablePanic

coderd/x/chatd/chatd_test.go:7645–7645  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7643}
7644
7645func (d *panicOnInTxDB) enablePanic() { d.active.Store(true) }
7646
7647func (d *panicOnInTxDB) InTx(f func(database.Store) error, opts *database.TxOptions) error {
7648 if d.active.Load() && !d.panicked.Load() {

Callers 1

Calls 1

StoreMethod · 0.45

Tested by

no test coverage detected