forgot the second point

This commit is contained in:
Дамјан Георгиевски 2018-07-05 17:57:12 +02:00
parent fd46bfb55a
commit 17a40e188a

View file

@ -24,7 +24,7 @@ pub fn run_tar_in_thread(path: PathBuf) -> futures::sync::mpsc::UnboundedReceive
*
* there are 2 features important about futures::sync::mpsc
* - it works with tokio (and so with actix), so the stream is async friendly
* -
* - it can be sent across threads (more importantly, the tx part)
* cons:
* futures::sync::mpsc::unbounded() is unbounded, which means the tar thread will
* just push everything in memory as fast as it can (as cpu allows).