Skip to content

flashbots/delay-pipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

delay-pipe

Delays lines written to a source file before appending them to a destination file.

Usage

delay-pipe <source> <dest> <delay_secs>

Example

touch /tmp/src
delay-pipe /tmp/src /tmp/dst 5 &
echo "hello" >> /tmp/src
sleep 5
cat /tmp/dst

Build

cargo build --release

Test

cargo test
cargo test stress -- --ignored --nocapture  # 100k lines/sec for 60s

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages