Roxen.git / server / base_server / global_variables.pike

version» Context lines:

Roxen.git/server/base_server/global_variables.pike: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   */   #define DEFVAR mixed...:object   #define BDEFVAR mixed...:object      #define IN_ROXEN   #include <module.h>   inherit "read_config";
Roxen.git/server/base_server/global_variables.pike:568:    lambda(){ return !QUERY(argument_cache_in_db); });       defvar("argument_cache_dir", "$VARDIR/cache/",    LOCALE(168, "Cache: Argument Cache Directory"),    TYPE_DIR|VAR_MORE,    LOCALE(169, "The cache directory to use to store the argument cache."    " Please note that load balancing is not available for most modules "    " (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"),    TYPE_FLAG,    LOCALE(173, "Save the variable documentation strings as comments "    "in the configuration files. Only useful if you read or "    "edit the config files directly."));   }