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.33 2000/07/11 01:51:59 nilsson Exp $ + // $Id: global_variables.pike,v 1.34 2000/07/11 17:24:58 lange 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:524: Inside #if undefined(__NT__)
   "minutes, it will be restarted. You need to find a balance: "    "if set too low, the server will be restarted even if it's doing "    "legal things (like generating many images), if set too high you might "    "get a long downtime if the server for some reason locks up."),    ({1,2,3,4,5,10,15}),    lambda() {return !QUERY(abs_engage);});   #endif          defvar("locale", "standard", LOCALE("", "Default language"), TYPE_STRING_LIST, -  LOCALE("", "Locale, used to localise all messages in roxen.\n" +  LOCALE("", "Locale, used to localize all messages in roxen.\n"    "Standard means using the default locale, which varies according to the "    "value of the 'LANG' environment variable."),   #if constant(Locale.list_languages) -  sort(Locale.list_languages("base_server")) +  sort(Locale.list_languages("base_server")+({"standard"}))   #else -  sort(RoxenLocale.list_languages("base_server")) +  sort(RoxenLocale.list_languages("base_server")+({"standard"}))   #endif    );       defvar("suicide_engage", 0,    LOCALE("", "Auto Restart: Enable Automatic Restart"),    TYPE_FLAG|VAR_MORE,    LOCALE("", "If set, Roxen will automatically restart after a configurable number of "    "days. Since Roxen uses a monolith, non-forking server model the process tends "    "to grow in size over time. This is mainly due to heap fragmentation but also "    "because of memory leaks.")