diff options
| -rw-r--r-- | cgit.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| @@ -928,12 +928,12 @@ static int calc_ttl()  	if (!strcmp(ctx.qry.page, "about"))  		return ctx.cfg.cache_about_ttl; -	if (ctx.qry.has_symref) -		return ctx.cfg.cache_dynamic_ttl; -  	if (ctx.qry.has_sha1)  		return ctx.cfg.cache_static_ttl; +	if (ctx.qry.has_symref) +		return ctx.cfg.cache_dynamic_ttl; +  	return ctx.cfg.cache_repo_ttl;  } | 
