You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2013/08/07 13:59:01 UTC

[Bug 6962] Implement the missing dump_db_toks() to Redis bayes backend (used by sa-learn --dump)

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6962

--- Comment #3 from Mark Martinec <Ma...@ijs.si> ---
Btw, the sa-learn --dump and the --backup have a field 'atime' in
their output (the time of the last token access or something like that).
With Redis we rely on its own expiration mechanism, so the atime
is not stored in a database explicitly. It is however possible to
retrieve a remaining time-to-live for each key using a TTL redis call.

Would it be worthwhile to retrieve such TTL time and reconstruct
the atime of tokens (based on the current ttl setting) for the
purpose of a more informative --dump and --backup ?  It would
require one more redis call for each token, so it would slow down
the --dump and --backup somewhat.

-- 
You are receiving this mail because:
You are the assignee for the bug.