[PATCH v2 1/1] implement CacheServer

Christian Hesse list at eworm.de
Mon Jan 24 12:30:12 UTC 2022


Christian Hesse <list at eworm.de> on Mon, 2022/01/24 12:48:
> This implements a new configuration option 'CacheServer'. Adding a cache
> server makes it ignore the server error limit.
> 
> We have a struct that stores the server errors. Extend (and rename) this
> struct to store if this is a cache server. The errors are not increased
> for cache servers, thus they are never ignored.

This now skips cache servers for database file downloads. Is there a better
way to detect a database file download?

BTW, I commented alpm_db_set_servers(). Is that actually used for anything?
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20220124/7c96e3aa/attachment.sig>


More information about the pacman-dev mailing list