Amarula.RetryCache.DETS (amarula v0.1.0)
View SourceOn-disk Amarula.RetryCache adapter — survives restart.
One DETS table per connection profile (<root>/<profile>/retry_cache.dets),
holding {msg_id, entry}. Bounded to @max_entries; on overflow the oldest
entries (by entry.ts) are evicted. Independent of Amarula.Storage — its
location is its own (:root), not borrowed from the durable-storage backend.
Opened lazily and kept open per {root, profile}; DETS auto-repairs an
uncleanly-closed table on reopen.
Options
:root— base dir holding one.detsfile per profile (defaultAMARULA_CACHE_DIRor./amarula_cache).:max_entries— cap before eviction (default 200).