Branch: Tag:

2001-11-27

2001-11-27 15:45:29 by Marcus Wellhardh <wellhard@roxen.com>

Added define NO_ARG_CACHE_SB_REPLICATE. If defined the arg cache
replication through SiteBuilder's replication system is disabled.

Rev: server/base_server/roxen.pike:1.762

6:   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.761 2001/11/27 12:19:43 grubba Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.762 2001/11/27 15:45:29 wellhard Exp $";      // The argument cache. Used by the image cache.   ArgCache argcache;
3014:    ci, user||"", time(1) );    }    + #ifndef NO_ARG_CACHE_SB_REPLICATE    if(id->misc->persistent_cache_crawler) {    // Force an update of atime for the requested arg cache id.    foreach(ci/"$", string key) {   #if REPLICATE_DEBUG    werror("Request for id %O from prefetch crawler.\n", key); - #endif + #endif /* REPLICATE_DEBUG */    argcache->refresh_arg(key);    }    } -  + #endif /* NO_ARG_CACHE_SB_REPLICATE */    return ci;    }