tehmoon / cryptocli

The ultimate tool for data transfer, manipulation and proxy.
MIT License
16 stars 2 forks source link

Add read timeout for read-elasticsearch module #41

Open tehmoon opened 4 years ago

tehmoon commented 4 years ago

When the --tail loop is enabled it will loop using --tail-interval and also will create a new context which is passed down that has a hard timeout on it.

Basically, add some kind of read time thing that will exit the loop if you have no data for duration.