Skip to content

Commit

Permalink
clean: Remove expired deletion from publish
Browse files Browse the repository at this point in the history
Since expired messages deletion are now handled in all states this call
is unnecessary.
  • Loading branch information
euripedesrocha committed Jun 17, 2024
1 parent cac1552 commit 2285726
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mqtt_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2118,9 +2118,6 @@ MQTT_API_LOCK(client);
ret = -1;
}

// delete long pending messages
mqtt_delete_expired_messages(client);

goto cannot_publish;
}

Expand Down

0 comments on commit 2285726

Please sign in to comment.