mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
udp: add cleaning worker
This commit is contained in:
parent
6d7ffd40ae
commit
c4fd3c9e83
6 changed files with 57 additions and 52 deletions
|
|
@ -163,6 +163,7 @@ pub enum WorkerType {
|
|||
Socket(usize),
|
||||
Statistics,
|
||||
Signals,
|
||||
Cleaning,
|
||||
#[cfg(feature = "prometheus")]
|
||||
Prometheus,
|
||||
}
|
||||
|
|
@ -174,6 +175,7 @@ impl Display for WorkerType {
|
|||
Self::Socket(index) => f.write_fmt(format_args!("Socket worker {}", index + 1)),
|
||||
Self::Statistics => f.write_str("Statistics worker"),
|
||||
Self::Signals => f.write_str("Signals worker"),
|
||||
Self::Cleaning => f.write_str("Cleaning worker"),
|
||||
#[cfg(feature = "prometheus")]
|
||||
Self::Prometheus => f.write_str("Prometheus worker"),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue