MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / GetActiveTxCount

Method GetActiveTxCount

tx_manager.go:109–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107}
108
109func (tm *txManager) GetActiveTxCount() int64 {
110 return tm.activeTxCount.Load()
111}
112
113func (tm *txManager) WaitForActiveTxs(timeout time.Duration) error {
114 deadline := time.Now().Add(timeout)

Calls

no outgoing calls