mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-02-01 00:03:15 +08:00
fixing slow elab
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user