Try to resolve daemon hang when changing settings
This commit is contained in:
@@ -34,7 +34,7 @@ pub struct UpdateMonitor {
|
||||
|
||||
impl UpdateMonitor {
|
||||
pub fn new(database: Arc<Mutex<Database>>, event_sender: Sender<Event>) -> Self {
|
||||
let (command_tx, command_rx) = tokio::sync::mpsc::channel(1);
|
||||
let (command_tx, command_rx) = tokio::sync::mpsc::channel(100);
|
||||
Self {
|
||||
database,
|
||||
event_sender,
|
||||
|
||||
Reference in New Issue
Block a user