marcmk6
marcmk6
Hi @Narsil, Sorry to bother, but could you help?
It would be nice to have source code. I'm currently struggling running one of the examples as it's extremely slow for me to download a dataset. If the source code...
> ```python > return groups.__class__.agg(self, *aggs, **named_aggs).filter(str_to_col(index_column) ``` Thanks for sharing an implementation of this feature! ~~But what's the `str_to_col` function?~~ Edit: change `str_to_col` to `pl.col`
我主要录两个直播间,一个是因为直播时间不方便录给自己看的,这个录像会长期保存。另一个是帮朋友录防止她漏看的,我这就保存个一两周这样。 在我的情况下,我觉得这个定期清除功能最好是以直播为单位的,而不是一个全局的设置。具体多久删除我觉得可以做成一个可自由设置的参数(天为单位?),这样可以按照需要的保存时间和存储空间大小自行调节。 谢谢
尝试了在[容器内使用tc的方法](https://stackoverflow.com/a/48758203),但tc命令报`RTNETLINK answers: No such file or directory` 还有一个[相关的项目](https://github.com/lukaszlach/docker-tc),但项目似乎疏于维护,甚至无法复现用例... 另外一个[blog](https://hechao.li/2023/08/28/container-bandwidth-limit/)