repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
e7fcce1
parent
1f86a2e
author
Eric Bower
date
2024-05-31 14:43:52 +0000 UTC
chore(pastes): set cron to once every 12h
1 files changed,  +1, -1
M pastes/cron.go
+1, -1
1@@ -34,6 +34,6 @@ func CronDeleteExpiredPosts(cfg *shared.ConfigSite, dbpool db.DB) {
2 		if err != nil {
3 			cfg.Logger.Error(err.Error())
4 		}
5-		time.Sleep(1 * time.Minute)
6+		time.Sleep(12 * time.Hour)
7 	}
8 }