Skip to content

Commit e03ce89

Browse files
committed
minor changes
1 parent 840e9bc commit e03ce89

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.rgignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
target
22
Cargo.lock
3+
examples/basic/video.js
4+
examples/basic/videojs-http-streaming

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
//! the ID is preserved.
3838
//!
3939
//! What happens if two chunks for the same stream are requested simulatenously??
40-
#![feature(try_trait, peekable_next_if, result_flattening)]
40+
#![feature(try_trait, result_flattening)]
4141
#![allow(unused_must_use, dead_code)]
4242

4343
pub mod error;

src/session.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ impl Session {
325325
}
326326

327327
pub fn is_timeout(&self) -> bool {
328-
Instant::now() > self.last_reset.load() + Duration::from_secs(30)
328+
Instant::now() > self.last_reset.load() + Duration::from_secs(10)
329329
}
330330

331331
pub fn reset_timeout(&self, last_requested: u64) {

0 commit comments

Comments
 (0)