Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pub_sub: go: set publisher sleep to 1 second #891

Merged
merged 1 commit into from
Sep 8, 2023
Merged

pub_sub: go: set publisher sleep to 1 second #891

merged 1 commit into from
Sep 8, 2023

Commits on Jul 27, 2023

  1. pub_sub: go: set publisher sleep to 1 second

    The current implementation calls `time.Sleep(1000)` with untyped
    literal `1000`, which is interpreted as 1000 nanoseconds, or 1
    millisecond.
    
    This commit changes the sleep duration to proper typed constant
    `time.Second`, which corresponds to the sleep time of other
    language examples.
    
    Signed-off-by: Paško Zdilar <pasko.zdilar@meshmind.io>
    paskozdilar committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    8962584 View commit details
    Browse the repository at this point in the history