Amarula.RetryCache.DETS (amarula v0.4.5)
View SourceOn-disk Amarula.RetryCache adapter — survives restart.
One DETS table per connection profile (<root>/<profile>/retry_cache.dets),
holding {msg_id, entry}. Bounded the same way as the ETS adapter — entries
past the @ttl_ms (5 min) retry window are dropped, then the oldest beyond
:max_entries (default 512). 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— hard cap before oldest-eviction (default 512).