Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information