Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xxhZs committed Oct 24, 2024
1 parent e57b8ff commit f176ff2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/connector/src/source/mqtt/enumerator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ impl SplitEnumerator for MqttSplitEnumerator {
let topics_clone = topics.clone();
tokio::spawn(async move {
while !stopped_clone.load(std::sync::atomic::Ordering::Relaxed) {
let a = eventloop.poll().await;
match a {
match eventloop.poll().await {
Ok(Event::Outgoing(Outgoing::Subscribe(_))) => {
connected_state_clone.set_is_connected(true);
}
Expand Down

0 comments on commit f176ff2

Please sign in to comment.