mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 18:15:28 +00:00
fixing slow elab
This commit is contained in:
parent
04a630266e
commit
fd2311d034
@ -185,6 +185,12 @@ func (c *Cache) checkError(err error) bool {
|
||||
if err == nil {
|
||||
return false
|
||||
}
|
||||
|
||||
// we do not consider timeouts as temporary
|
||||
if strings.Contains(errkit.FromError(err).Cause().Error(), "i/o timeout") {
|
||||
return true
|
||||
}
|
||||
|
||||
kind := errkit.GetErrorKind(err, nucleierr.ErrTemplateLogic)
|
||||
switch kind {
|
||||
case nucleierr.ErrTemplateLogic:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user