/*
- * $Id: peer_digest.cc,v 1.1 1998/04/08 22:48:08 rousskov Exp $
+ * $Id: peer_digest.cc,v 1.2 1998/04/08 22:52:38 rousskov Exp $
*
* DEBUG: section 72 Peer Digest Routines
* AUTHOR: Alex Rousskov
#define StoreDigestCBlockSize sizeof(StoreDigestCBlock)
/* min interval for requesting digests from the same peer */
-static const time_t PeerDigestRequestMinGap = 1 * 60; /* seconds */
+static const time_t PeerDigestRequestMinGap = 15 * 60; /* seconds */
void
peerDigestInit(peer *p)
/*
- * $Id: store_digest.cc,v 1.5 1998/04/08 22:51:17 rousskov Exp $
+ * $Id: store_digest.cc,v 1.6 1998/04/08 22:52:38 rousskov Exp $
*
* DEBUG: section 71 Store Digest Manager
* AUTHOR: Alex Rousskov
*/
/* how often we want to rebuild the digest, seconds */
-static const time_t StoreDigestRebuildPeriod = 6 * 60;
+static const time_t StoreDigestRebuildPeriod = 60 * 60;
/* how often we want to rewrite the digest, seconds */
-static const time_t StoreDigestRewritePeriod = 6 * 60;
+static const time_t StoreDigestRewritePeriod = 60 * 60;
/* how many bytes to swap out at a time */
static const int StoreDigestSwapOutChunkSize = SM_PAGE_SIZE;
/* portion (0,1] of a hash table to be rescanned at a time */