mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2026-10-02 19:41:57 +00:00
feat(security): stamp transaction-local settings on OnTxBegin in all specs
This commit is contained in:
@@ -132,6 +132,10 @@ type SecurityList struct {
|
||||
lastColPrune time.Time
|
||||
lastRowPrune time.Time
|
||||
|
||||
// txSettings stamps transaction-local settings at OnTxBegin (see txsettings.go).
|
||||
txSettingsMu sync.RWMutex
|
||||
txSettings TxSettingsFunc
|
||||
|
||||
// loads collapses concurrent provider calls for the same key (cold-cache stampede).
|
||||
loads singleflight.Group
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user