Branch: Tag:

2000-12-01

2000-12-01 18:00:23 by Martin Nilsson <mani@lysator.liu.se>

Set mem-cache GC-time range between 1 second and a day.

Rev: server/base_server/global_variables.pike:1.52

1:   // This file is part of Roxen Webserver.   // Copyright © 1996 - 2000, Roxen IS. - // $Id: global_variables.pike,v 1.51 2000/11/24 16:50:33 per Exp $ + // $Id: global_variables.pike,v 1.52 2000/12/01 18:00:23 nilsson Exp $      /*   #pragma strict_types
575:    " (such as gtext, diagram etc) unless you use a mysql database to "    "store the argument cache meta data."));    -  defvar("mem_cache_gc", 300, +  defvar("mem_cache_gc", +  Variable.Int(300, 0,    LOCALE(170, "Cache: Memory Cache Garbage Collect Interval"), -  TYPE_INT, +     LOCALE(171, "The number of seconds between every garbage collect "    "(removal of old content) from the memory cache. The "    "memory cache is used for various tasks like remebering " -  "what supports flags matches what client.")); +  "what supports flags matches what client."))) +  ->set_range(1, 60*60*24); +  // Note that the upper limit is arbitrary.       defvar("config_file_comments", 0,    LOCALE(172, "Commented config files"),