diff --git a/lib/radisk.js b/lib/radisk.js index 007d5dee..a7e2115e 100644 --- a/lib/radisk.js +++ b/lib/radisk.js @@ -287,15 +287,21 @@ || (!o.span && last && last > key && 0 != last.indexOf(key)) // 'zach' may be lexically larger than 'za', but there still might be more, like 'zane' in the 'za' prefix bucket so do not end here. ){ o.more = u; + var S = +new Date; as.ack(g.err, data, o); + LOG && opt.log(S, +new Date - S, 'rad range ack'); return } if(u !== data){ + var S = +new Date; as.ack(g.err, data, o); // more might be coming! + LOG && opt.log(S, +new Date - S, 'rad range ack.'); if(o.parsed >= o.limit){ return } // even if more, we've hit our limit, asking peer will need to make a new ask with a new starting point. } o.next = as.file; + var S = +new Date; r.read(key, as.ack, o); + LOG && opt.log(S, +new Date - S, 'rad range read again'); } if(o.reverse){ g.lex.reverse = true } LOG && (S = +new Date);