Skip to content

Fix comments of GarbageCollectRequest used by gc

Comments for prune field of GarbageCollectRequest indicates that if set true, dangling objects that are not modified in the last 24 hours would be dropped. But the time gap is 30 minutes actually.

Commit ab6bc21a tuned the time gap from 24 hours to 30 minutes, but the proto comments are missed at that time.

And unused assignments stdout and stderr in CheckRefFormat are replaced by io.Discard to make code clearer.

Edited by Xing Xin

Merge request reports