Skip to content

Do not close the TTL channel twice

John Cai requested to merge jc-do-not-close-ttl-channel into master

the closeBatchAndStopTTL already closes the stopTTL channel whenever something is removed from the LRU, so we don't need to do it in the Add method since there is a lru.Remove call in there. This causes a panic in gitaly panic: close of closed channel

Edited by John Cai

Merge request reports