added quickpoll to help with 250MB diffbot reply.

This commit is contained in:
Matt Wells 2015-01-20 17:15:06 -08:00
parent 51cda3bac0
commit 980f1544a4

View File

@ -14511,6 +14511,8 @@ int32_t *XmlDoc::getDiffbotTitleHashes ( int32_t *numHashes ) {
int32_t plen;
for ( ; p < pend ; p += plen + 1 ) {
// breathe some in case diffbot reply is 250MB
QUICKPOLL(m_niceness);
// set this
plen = gbstrlen(p);
// get title from it