diff options
Diffstat (limited to 'src/http/sse.rs')
| -rw-r--r-- | src/http/sse.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/sse.rs b/src/http/sse.rs index e4a5e6a..39266be 100644 --- a/src/http/sse.rs +++ b/src/http/sse.rs @@ -91,7 +91,7 @@ impl Read for LogTail { self.finish(); continue; } - std::thread::sleep(POLL); + crate::time::sleep(POLL); self.since_keepalive += POLL; if self.since_keepalive >= KEEPALIVE { self.since_keepalive = Duration::ZERO; |
