mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-07-30 10:48:06 +02:00
clean: Remove expired deletion from publish
Since expired messages deletion are now handled in all states this call is unnecessary.
This commit is contained in:
@ -2118,9 +2118,6 @@ MQTT_API_LOCK(client);
|
|||||||
ret = -1;
|
ret = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// delete long pending messages
|
|
||||||
mqtt_delete_expired_messages(client);
|
|
||||||
|
|
||||||
goto cannot_publish;
|
goto cannot_publish;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user