mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 12:16:54 +00:00
add option to disable listeners
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
e56d3c6cb3
commit
5167e1f06d
3 files changed
+20
-4
No files matched your search
@@ -1710,6 +1710,11 @@ pub struct Config {
|
||||
#[serde(default)]
|
||||
pub sender_workers: usize,
|
||||
|
||||
/// Enables listener sockets; can be set to false to disable listening. This
|
||||
/// option is intended for developer/diagnostic purposes only.
|
||||
#[serde(default = "true_fn")]
|
||||
pub listening: bool,
|
||||
|
||||
#[serde(flatten)]
|
||||
#[allow(clippy::zero_sized_map_values)]
|
||||
// this is a catchall, the map shouldn't be zero at runtime
|
||||
|
||||
Reference in new issue
Block a user