gpt4 book ai didi

maven - Artifactory - 明确清理旧快照

转载 作者:行者123 更新时间:2023-12-02 04:55:24 25 4
gpt4 key购买 nike

根据 docs ,我们可以设置Max Unique Snapshots 以在每次新部署时丢弃 Artifact 的旧快照。

如上所写:

Redundant snapshots are not deleted immediately Every 5 minutes, Artifactory runs a background process that checks the value of Max Unique Snapshots and deletes the oldest snapshots beyond that number. For example, if you currently have 7 snapshots and set Max Unique Snapshots to 5 then next time the background process runs, it will delete the 2 oldest snapshots.

我有两个问题:

  • “5 分钟调度程序”是否可配置?它似乎无法正常工作(在 2.6.4 版本中测试)。

  • 如果我的 Artifactory 已使用 3 年以上且容量约为 250GB,那么性能/服务器速度下降会怎样?这份工作会如预期般正常进行吗?

最佳答案

Artifactory 不会仅仅因为您降低值 Max Unique Snapshots 就删除快照。您需要推送另一个快照来触发给定组+ Artifact +版本的清理过程。

换句话说,您需要手动删除旧快照。设置将仅适用于新上传的快照。

关于maven - Artifactory - 明确清理旧快照,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23094515/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com