readded configurable delay

This commit is contained in:
delorean 2024-12-06 16:07:39 -06:00
parent 9b31c275a6
commit 2659c12c0b

View File

@ -3,6 +3,7 @@ package common
import (
"log/slog"
"os"
"time"
)
func thread(l *slog.Logger, dests <-chan string, tab chan<- interface{}) {
@ -15,6 +16,7 @@ func thread(l *slog.Logger, dests <-chan string, tab chan<- interface{}) {
if err := Hit(l, c, url); err != nil {
break uriloop
}
time.Sleep(time.Duration(Conf.Delay) * time.Millisecond)
}
}
tab <- "H A C K T H E P L A N E T"