8go / 8go/nostr-commander-rs

Streaming data with fast updates

オープン
#2 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
79
フォーク
10
PR マージ指標
30日以内にマージされた PR はありません

説明

I tested a little bit with the streaming data feature and realized that it's not possible to stream a logfile with a lot of updates in a small time frame. Then you see duplicates and some lines are missing.

If updates are coming in an interval of 1 second, then all is fine, like here
```i=1; while true; do echo $i; i=$(expr $i + 1); sleep 1; [ $i -eq 10 ] && break; done | nostr-commander-rs --dm npub..... _```

But if you sleep only 0.1 seconds then it does not work.
```i=1; while true; do echo $i; i=$(expr $i + 1); sleep 0.1; [ $i -eq 10 ] && break; done | nostr-commander-rs --dm npub..... _```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。