zorg is a bot which can follow rss feed and make them a post on Mastodon/Pleroma instance.
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
308 B

package main
import (
"log"
"runtime"
"time"
)
func init() {
log.Println("Garbage Collector Thread Starting")
go memoryCleanerThread()
}
func memoryCleanerThread() {
for {
time.Sleep(Zint)
log.Println("Time to clean memory...")
runtime.GC()
log.Println("Garbage Collection done.")
}
}