Roxen.git / server / base_server / global_variables.pike

version» Context lines:

Roxen.git/server/base_server/global_variables.pike:739: Inside #if undefined(__NT__)
   TYPE_INT_LIST|VAR_MORE,    LOCALE(157, "If the server is unable to accept connection for this many "    "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,30,60}),    lambda() {return !query("abs_engage");});   #endif // __NT__    +  defvar("auto_fetch_rxps", 0, +  LOCALE(0, "Auto Maintenance: Enable Automatic Patch import"), +  TYPE_FLAG, +  LOCALE(0, "Automatically fetch and import patches to the server " +  "from www.roxen.com.")); +     defvar("locale",    Variable.Language("Standard", ({ "Standard" }) +    Locale.list_languages("roxen_config"),    0, LOCALE(158, "Default language"),    LOCALE(159, "Locale, used to localize all "    "messages in Roxen. Standard means using "    "the default locale, which varies "    "according to the values of "    "the 'LC_MESSAGES' and 'LANG' environment "    "variables.")))
Roxen.git/server/base_server/global_variables.pike:794:    defvar("suicide_schedule",    Variable.Schedule( ({ 2, 1, 1, 0, 4 }), 0,    LOCALE(387,"Auto Maintenance: Restart Schedule"),    LOCALE(388, "Automatically restart the "    "server according to this schedule.") ) )    ->set_invisibility_check_callback (    lambda(RequestID id, Variable.Variable f)    {return !query("suicide_engage");}    );    +  defvar("patch_on_restart", 0, +  LOCALE(0, "Auto Maintenance: Restart and apply patches"), +  TYPE_FLAG, +  LOCALE(0, "Apply any pending imported patches when the server is " +  "automatically restarted.")) +  ->set_invisibility_check_callback ( +  lambda(RequestID id, Variable.Variable f) +  {return !query("suicide_engage");}); +     defvar ("mem_cache_gc_2", 5 * 60,    LOCALE(1045, "Cache: Memory cache GC interval"),    TYPE_INT,    LOCALE(1046, #"\   <p>Interval in seconds between RAM cache garbage collector runs. This   GC removes entries from the RAM caches that have timed out or are   stale for other reasons, thereby making more room for new entries. The   configured cache size limits are enforced when entries are added, so   this GC is not required to keep the cache sizes down.</p>   
Roxen.git/server/base_server/global_variables.pike:972: Inside #if defined(ENABLE_OUTGOING_PROXY)
   LOCALE(1055, "The URL of the proxy to use for outgoing requests."));       defvar("proxy_username", "",    LOCALE(1056, "Proxy: Proxy username"), TYPE_STRING,    LOCALE(1057, "Username for proxy authorization."));       defvar("proxy_password", "",    LOCALE(1058, "Proxy: Proxy password"), TYPE_STRING,    LOCALE(1059, "Password for proxy authorization."));   #endif -  -  defvar("auto_fetch_rxps", 0, -  LOCALE(0, "Auto Maintenance: Enable Automatic Patch import"), -  TYPE_FLAG, -  LOCALE(0, "Automatically fetch and import patches to the server " -  "from www.roxen.com.")); -  defvar("patch_on_restart", 0, -  LOCALE(0, "Auto Maintenance: Restart and apply patches"), -  TYPE_FLAG, -  LOCALE(0, "Apply any pending imported patches when the server is " -  "automatically restarted.")) -  ->set_invisibility_check_callback ( -  lambda(RequestID id, Variable.Variable f) -  {return !query("suicide_engage");}); +    }         void restore_global_variables()   {    mapping m = retrieve("Variables", 0);    setvars(retrieve("Variables", 0));    if( !m->argcache_secret ) save();    old_module_dirs = query( "ModuleDirs" );    getvar( "ModuleDirs" )->add_changed_callback( zap_all_module_caches );