mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
Avoid datetime overflow, cache deb for a year instead of 300k years
This commit is contained in:
@@ -346,7 +346,7 @@ def _install_dovecot_package(package: str, arch: str):
|
||||
src=url,
|
||||
dest=deb_filename,
|
||||
sha256sum=sha256,
|
||||
cache_time=9999999999999, # never redownload the package
|
||||
cache_time=60 * 60 * 24 * 365, # cache the .deb for a year,
|
||||
)
|
||||
|
||||
apt.deb(name=f"Install dovecot-{package}", src=deb_filename)
|
||||
|
||||
Reference in New Issue
Block a user