@@ 425,13 425,21 @@ var boxofboxes = gencache.New(gencache.O
j, err = GetJunk(readyLuserOne, ident)
if err != nil {
dlog.Printf("error getting boxes for %s: %s", ident, err)
- return nil, false
+ str := err.Error()
+ if strings.Contains(str, "http get status: 410") ||
+ strings.Contains(str, "http get status: 404") {
+ savexonker(ident, "dead", "boxes")
+ }
+ return nil, true
}
allinjest(originate(ident), j)
row = stmtGetXonker.QueryRow(ident, "boxes")
err = row.Scan(&info)
}
if err == nil {
+ if info == "dead" {
+ return nil, true
+ }
m := strings.Split(info, " ")
b := &Box{In: m[0], Out: m[1], Shared: m[2]}
return b, true