Skip to content

Streaming data with fast updates #2

@feelancer21

Description

@feelancer21

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..... _

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions