mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-23 13:45:25 +00:00
warning
This commit is contained in:
parent
582a85d9c0
commit
70eb494a01
@ -314,7 +314,7 @@ func New(options *types.Options) (*Runner, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if options.RateLimitMinute > 0 {
|
if options.RateLimitMinute > 0 {
|
||||||
gologger.Warning().Msgf("rate limit per minute is deprecated - use rate-limit-duration")
|
gologger.Print().Msgf("[%v] %v", aurora.BrightYellow("WRN"), fmt.Sprintf("rate limit per minute is deprecated - use rate-limit-duration"))
|
||||||
options.RateLimit = options.RateLimitMinute
|
options.RateLimit = options.RateLimitMinute
|
||||||
options.RateLimitDuration = time.Minute
|
options.RateLimitDuration = time.Minute
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user