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

Test for BackgroundPublisher #521

Merged
merged 1 commit into from
Sep 28, 2015
Merged

Test for BackgroundPublisher #521

merged 1 commit into from
Sep 28, 2015

Conversation

tomwilkie
Copy link
Contributor

No description provided.

@peterbourgon
Copy link
Contributor

LGTM. For the record, runtime.Gosched isn't guaranteed to do anything. I don't know a better pattern, however.

@tomwilkie
Copy link
Contributor Author

Yeah me neither. I just need the goroutine in background publisher to run, and as goroutines are cooperatively multitasking, they need some sleep or sched call. This shouldn't be as fragile as other uses.

tomwilkie added a commit that referenced this pull request Sep 28, 2015
Test for BackgroundPublisher
@tomwilkie tomwilkie merged commit ff6f87d into master Sep 28, 2015
@tomwilkie tomwilkie deleted the testing branch September 28, 2015 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants