@hackage stm-stats0.2.0.0
retry statistics for STM transactions
Categories
License
BSD-3-Clause
Maintainer
Joachim Breitner <mail@joachim-breitner.de>
Links
Versions
Installation
Dependencies (5)
- base >=4 && <5
- containers <0.6
- stm
- template-haskell
- time Show all…
Dependents (2)
@hackage/acme-everything, @hackage/ttrie
This module provides functions that can replace calls to
atomically and count how often the transaction was retried
until it succeeded. It can emit warnings when transaction are
retried more often than a given threshold, and provides global
statistics across all transaction.
As an additional feature, if the transaction was named,
transaction-related exceptions such as
BlockedIndefinitelyOnSTM are replaced by variants that
indicate which transaction caused the exception.
Changelog:
- Added
warnInSTMFunctiontoTrackSTMConf. - Bugfix with the global retry count warning.
- 0.1.0.0
- (2011-10-09)
- Initial Release