1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-27 23:26:27 +00:00

Increase full scrape chunk size to 1/2meg

This commit is contained in:
erdgeist 2007-11-13 00:33:55 +00:00
parent 17b2ce1082
commit 91a3a3b342

View File

@ -18,7 +18,7 @@
Full scrapes usually are huge and one does not want to Full scrapes usually are huge and one does not want to
allocate more memory. So lets get them in 1M units allocate more memory. So lets get them in 1M units
*/ */
#define OT_SCRAPE_CHUNK_SIZE (256*1024) #define OT_SCRAPE_CHUNK_SIZE (512*1024)
/* "d8:completei%zde10:downloadedi%zde10:incompletei%zdee" */ /* "d8:completei%zde10:downloadedi%zde10:incompletei%zdee" */
#define OT_FULLSCRAPE_MAXENTRYLEN 100 #define OT_FULLSCRAPE_MAXENTRYLEN 100