Tiny replacement for piHole DNS filter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
320 B

package main
import (
func init() {
fmt.Println("Garbage Collector Thread Starting")
go memoryCleanerThread()
func memoryCleanerThread() {
for {
time.Sleep(10 * time.Minute)
fmt.Println("Time to clean memory...")
fmt.Println("Garbage Collection done.")