Package: rss2email
Version: 1:3.9-2.1
Severity: wishlist

My data file regularly grows to hundreds of megabytes, until I run

  r2e reset && r2e run --no-send

but there's a race condition in that.

Wouldn't it be possible to run e.g.

  r2e run --forget-old

such that the data file gets rewritten with just the IDs that are
served by the feed? Since RSS feeds usually operate like a queue,
and older elements are unlikely to show up again, this would help
reduce the size of the data file without the race condition.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rss2email depends on:
ii  python3             3.6.5-3
ii  python3-feedparser  5.2.1-1
pn  python3-html2text   <none>

Versions of packages rss2email recommends:
ii  python3-bs4  4.6.0-1

Versions of packages rss2email suggests:
pn  esmtp  <none>


-- 
 .''`.   martin f. krafft <[email protected]> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to