mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-06 07:52:18 +02:00
shared stream optimizations
This commit is contained in:
@@ -954,9 +954,7 @@ async fn shared_stream_response(
|
||||
if let Some(stream) =
|
||||
SharedStreamManager::subscribe_shared_stream(app_state, stream_url, Some(addr)).await
|
||||
{
|
||||
debug_if_enabled!(
|
||||
"Using shared stream {}",
|
||||
sanitize_sensitive_info(stream_url)
|
||||
debug_if_enabled!("Using shared stream {}", sanitize_sensitive_info(stream_url)
|
||||
);
|
||||
if let Some(headers) = app_state
|
||||
.shared_stream_manager
|
||||
|
||||
@@ -263,7 +263,6 @@ impl SharedStreamManager {
|
||||
self.unregister(stream_url.as_ref().unwrap(), true).await;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
async fn subscribe_stream(&self, stream_url: &str, addr: Option<&str>, manager: Arc<SharedStreamManager>) -> Option<BoxedProviderStream> {
|
||||
|
||||
Reference in New Issue
Block a user