Software /
code /
prosody
Comparison
util/startup.lua @ 11560:3bbb1af92514
Merge 0.11->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 13 May 2021 11:17:13 +0100 |
parent | 11305:cd8516a77255 |
parent | 11539:3413fea9e6db |
child | 11828:024ac556e907 |
comparison
equal
deleted
inserted
replaced
11538:30feeb4d9d0b | 11560:3bbb1af92514 |
---|---|
12 | 12 |
13 local dependencies = require "util.dependencies"; | 13 local dependencies = require "util.dependencies"; |
14 | 14 |
15 local original_logging_config; | 15 local original_logging_config; |
16 | 16 |
17 local default_gc_params = { mode = "incremental", threshold = 105, speed = 250 }; | 17 local default_gc_params = { |
18 mode = "incremental"; | |
19 -- Incremental mode defaults | |
20 threshold = 105, speed = 500; | |
21 -- Generational mode defaults | |
22 minor_threshold = 20, major_threshold = 50; | |
23 }; | |
18 | 24 |
19 local short_params = { D = "daemonize", F = "no-daemonize" }; | 25 local short_params = { D = "daemonize", F = "no-daemonize" }; |
20 local value_params = { config = true }; | 26 local value_params = { config = true }; |
21 | 27 |
22 function startup.parse_args() | 28 function startup.parse_args() |