forked from kent/consciousness
ignore SIGCHLD so children are reaped
This commit is contained in:
parent
dfef7fb446
commit
71bfd60466
1 changed files with 3 additions and 0 deletions
|
|
@ -554,6 +554,9 @@ pub enum SubCmd {
|
|||
|
||||
#[tokio::main]
|
||||
pub async fn main() {
|
||||
// Auto-reap child processes (channel daemons outlive the supervisor)
|
||||
unsafe { libc::signal(libc::SIGCHLD, libc::SIG_IGN); }
|
||||
|
||||
// Initialize the Qwen tokenizer for direct token generation
|
||||
let tokenizer_path = dirs::home_dir().unwrap_or_default()
|
||||
.join(".consciousness/tokenizer-qwen35.json");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue