Skip to content

Consider renaming [gc] config table. #14292

Closed
@ehuss

Description

@ehuss

In #14287 (comment), it was suggested to have a different name for the [gc] table. The intent is to make it something clearer to the user.

My intent is to have the frequency option affect all cache cleaning. That is, I think there should be one option for configuring the "once per day" cleaning of caches. I would be concerned that trying to define properties for various different kinds of caches could add complexity. To that end, I might suggest something like:

[cache]
auto-clean-frequency = "1 day"

I don't have a particular opinion about the other config options, since I don't know what those will ultimately look like (tracked in #13061). In the meantime, I would toss them in some sub-table until a more permanent solution is picked. Perhaps something like cache.global-clean or something like that.

Feel free to suggest other ideas, preferably with your reasons for what you suggest.

Metadata

Metadata

Assignees

Labels

A-configurationArea: cargo config files and env varsS-triageStatus: This issue is waiting on initial triage.Z-gcNightly: garbage collection

Type

No type

Projects

Status

Nominated

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions