MCPcopy Create free account
hub / github.com/chainreactors/spray / fallback

Method fallback

core/pool/brutepool.go:886–894  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

884}
885
886func (pool *BrutePool) fallback() {
887 logs.Log.Errorf("%s ,failed request exceeds the threshold , task will exit. Breakpoint %d", pool.BaseURL, pool.wordOffset.Load())
888 for i, bl := range pool.FailedBaselines {
889 if i > 5 {
890 break
891 }
892 logs.Log.Errorf("[failed.%d] %s", i, bl.String())
893 }
894}
895
896func (pool *BrutePool) Close() {
897 pool.Cancel()

Callers 1

doCheckMethod · 0.95

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected