Skip to content

Commit 1952db3

Browse files
committed
fix: ignore baton from cursor endpoint
1 parent c85ec3d commit 1952db3

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

libsql/src/hrana/stream.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -329,16 +329,6 @@ where
329329
self.pipeline_url = Arc::from(format!("{base_url}/v3/pipeline"));
330330
self.cursor_url = Arc::from(format!("{base_url}/v3/cursor"));
331331
}
332-
match response.baton.take() {
333-
None => {
334-
tracing::trace!("client stream has been closed by the server");
335-
self.reset();
336-
} // stream has been closed by the server
337-
Some(baton) => {
338-
tracing::trace!("client stream has been assigned with baton: `{}`", baton);
339-
self.baton = Some(baton)
340-
}
341-
}
342332
Ok(cursor)
343333
}
344334

0 commit comments

Comments
 (0)