podterminal/pods/garbageCollector.go

13 lines
115 B
Go
Raw Normal View History

package pods
import (
"time"
)
func GarbageCollector() {
for {
Cleanup()
time.Sleep(time.Minute * 10)
}
}