Package: plocate
Version: 1.1.5-1
Severity: minor
X-Debbugs-Cc: calumlikesapple...@gmail.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

The current timer shipped by plocate simply fires the
service every day at midnight.  That is bad practice,
since if everyone did it, computers would all hang
at midnight as they get swamped with expiring timers.

Instead, use SystemD's RandomizedDelaySec and
AccuracySec to distribute jobs.  Adding 
RandomizedDelaySec=12h and AccuracySec=20min to the
timer unit file would cause SystemD to run the update
job at some point in the morning, and have the freedom
to align it with other jobs as needed.

Thank you!
Calum


- -- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-4-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages plocate depends on:
ii  libc6       2.31-9
ii  libgcc-s1   10.2.1-6
ii  libstdc++6  10.2.1-6
ii  liburing1   0.7-3
ii  libzstd1    1.4.8+dfsg-2.1

plocate recommends no packages.

Versions of packages plocate suggests:
ii  powermgmt-base  1.36
ii  systemd-sysv    247.3-3

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQJRBAEBCgA7FiEE/vC/PEGxsMPJ5u5w7/Xh1+DNmzIFAmBZYOsdHGNhbHVtbGlr
ZXNhcHBsZXBpZUBnbWFpbC5jb20ACgkQ7/Xh1+DNmzI2ZA/+LyYskPo/dHnw17Gx
VZXwn3Hl5ZlUQNXVgvz86kgc+ngDauEUtznEZ+enYVtpxUkKNjoWsQ1taqdpq2JT
tsIReZwyeWB/ig3X3/U/VIGxg3OgrNOeMx68AqdHldpUXZav1OVb290yp2XOl4Ep
Yu1/GBmVVLTcTItQQsXg+hYgjgqhl5EfqzlCqxN+EFNvLmrmHoO0vbT0fl0PzobY
GP9Rz8Xddy+Oah8Ovi0FeOVZzkh9o3dTbH6MonTKtMKeGZiweJMiiB13ghZKDUBE
VlWgHavNMt/XiLyBtYPF4ZM1mRLVjx9aZFz9ZqDTDb9FeH+Fhjfe3cxXyINldTui
cSOPTwqhNC8KfS/E8oW+wSWYBKfJjcI003QA3jqTLuWf0a5iSSxZNqNwTguFWz39
7liKfUQPdz9UxwplJ4eYySiO5dgFYZcaXa5WjowlCLhhqNTPuqUyciHA/TxawlQH
5D5x9lS/vy2Zp7iBFFA3mwOvKzlj/kw/GmCGxJrrUxA5c8LMsrnWS/fFKrSYDmvJ
geABRgp67PQjS2aitFStXu0y6Faf48WgvmH1qZ1tecyx9auCAsuWgndrHvfSq2Ue
5sITHHizrATNanK2LXyWGiDdJsR5hSHyBe83PieRdCXFcE+mUBXOF+g8GebdEcnB
qRmu1H2JFeAQg0D1aT4hepnjFFI=
=te/R
-----END PGP SIGNATURE-----

Reply via email to