Increased mqtt queue size as a temporary fix
This commit is contained in:
parent
9628b8a94b
commit
5d6faddce1
|
@ -54,7 +54,8 @@ async fn app() -> anyhow::Result<()> {
|
|||
let config = Config::parse_file(&config_filename)?;
|
||||
|
||||
// Create a mqtt client
|
||||
let (client, eventloop) = AsyncClient::new(config.mqtt.clone(), 10);
|
||||
// TODO: Since we wait with starting the eventloop we might fill the queue while setting up devices
|
||||
let (client, eventloop) = AsyncClient::new(config.mqtt.clone(), 100);
|
||||
|
||||
// Setup the device handler
|
||||
let device_manager = DeviceManager::new(client.clone());
|
||||
|
|
Loading…
Reference in New Issue
Block a user