[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cgit
Subject:    Re: Caching TTL values per repository
From:       Lars Hjemli <hjemli () gmail ! com>
Date:       2019-11-04 11:27:44
Message-ID: CAFXTnz4VrGrxXUz=4Fq+ELGB2qKsa36D86CZ+rfKbvNgumMzRw () mail ! gmail ! com
[Download RAW message or body]

On Thu, Oct 31, 2019 at 7:42 PM jean-christophe manciot
<actionmystique@gmail.com> wrote:
> I have defined some global cache TTL values in /etc/cgitrc:
...
> For a particular repo which is not expected to be modified anytime soon and holds \
> many objects, I have tried to set other values in its own cgitrc:
...
> However, they don't seem effective in the sense that some requests never seem to be \
> cached at all and can take a very long time to complete; for instance, its log. 
> - Is this behaviour expected because it is not possible to set cache values per \
> repository?

Yes, the cache is shared by all repos so this behaviour is expected.

-- 
larsh
_______________________________________________
CGit mailing list
CGit@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/cgit


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic