如何在 perfoce 代理服务器上预缓存文件以获得不错的速度?
Perforce 代理仅在用户同步文件时才缓存文件,因此,如果您是同步某些位置的 perforce 代理的单个用户,您将几乎不会从中获得任何好处。
问题是如何让perforce为你缓存文件?
Perforce proxy does cache files only when a user does sync them so if you are the single user of a perforce proxy that is syncing some locations you will gain almost nothing from it.
The question is how to make perforce cache the files for you?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决方案是创建一个计划任务/crontab 来模拟同步。
您必须为此客户端创建一个分支规范,
此命令不会将文件复制到您的客户端,它只会告诉代理缓存它们。
The solution for this is to create a scheduled task/crontab that will simulate a sync for you.
You will have to create a branchspec for this client,
This command will not copy the files to your client, it will only tell the proxy to cache them.