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.38 2000/07/21 17:37:34 lange Exp $ + // $Id: global_variables.pike,v 1.39 2000/08/17 01:16:30 per Exp $      /*   #pragma strict_types   */   #define DEFVAR string,int|string,string|mapping,int,string|mapping(string:string),void|array(string),void|function:void   #define BDEFVAR string,int|string,string|mapping,int,string|mapping(string:string),void|array(string),void|mapping(string:mapping(string:string)):void      #include <module.h>   #include <roxen.h>   #include <config.h>
Roxen.git/server/base_server/global_variables.pike:460: Inside #if defined(THREADS)
   defvar("numthreads", 5, LOCALE(150, "Number of threads to run"),    TYPE_INT,    LOCALE(151, "The number of simultaneous threads Roxen will use.\n"    "<p>Please note that even if this is one, Roxen will still "    "be able to serve multiple requests, using a select loop based "    "system.\n"    "<i>This is quite useful if you have more than one CPU in "    "your machine, or if you have a lot of slow NFS accesses.</i></p>"));   #endif    + #if 0    defvar("AutoUpdate", 1,    LOCALE(152, "Update the supports database automatically"),    TYPE_FLAG,    LOCALE(153, "If set to Yes, the etc/supports file will be updated "    "automatically from www.roxen.com now and then. This is "    "recomended, since you will then automatically get supports "    "information for new clients, and new versions of old ones."));    -  defvar("next_supports_update", time()+3600, "", TYPE_INT,"",0,1); +  defvar("next_supports_update", time(1)+3600, "", TYPE_INT,"",0,1); + #endif      #ifndef __NT__    defvar("abs_engage", 0, LOCALE(154, "ABS: Enable Anti-Block-System"),    TYPE_FLAG|VAR_MORE,    LOCALE(155, "If set, the anti-block-system will be enabled. "    "This will restart the server after a configurable number of minutes if it "    "locks up. If you are running in a single threaded environment heavy "    "calculations will also halt the server. In multi-threaded mode bugs such as "    "eternal loops will not cause the server to reboot, since only one thread is "    "blocked. In general there is no harm in having this option enabled. "));