From 5d2a1223230f808ae3db69c6523aba3a27ee8b04 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 2 Jun 2021 13:49:05 +0200 Subject: add a cache server entry in pacman configuration snippet The server error limit was introduced in pacman 6.0.0, which caused some trouble with pacredir: Returning 404 (not found) is common case and no fatal error. Add a cache server with different address to make sure to request files from pacredir in case the address above was caught by pacman's server error limit. --- pacman/pacredir | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pacman') diff --git a/pacman/pacredir b/pacman/pacredir index 0a1e1fc..9df0184 100644 --- a/pacman/pacredir +++ b/pacman/pacredir @@ -1,2 +1,10 @@ # Make sure local service pacredir is running! + +# This is a regular server, so pacredir receives requests for database +# files, but it is also accounted for server error limit. Server = http://127.0.0.1:7077/ + +# Add a cache server with different address to make sure pacman requests +# package files from pacredir in case the address above was caught by +# pacman's server error limit. +CacheServer = http://127.0.0.2:7077/ -- cgit v1.2.3-70-g09d2