readded configurable delay
This commit is contained in:
parent
9b31c275a6
commit
2659c12c0b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user