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

Remove timeout on stdin #11

Merged
merged 1 commit into from
Apr 19, 2016
Merged

Remove timeout on stdin #11

merged 1 commit into from
Apr 19, 2016

Conversation

eush77
Copy link
Contributor

@eush77 eush77 commented Jun 8, 2015

I have a program that produces JSON but takes some time to start and I can't pipe it to json2yaml because of the timeout of 1s.

This patch removes the timeout.

@rjmunro
Copy link

rjmunro commented Mar 4, 2016

+1 - I'd like to be able to just run json2yaml in bash, type some json and get some yaml back, but it just times out before I can type anything. This isn't the same as any other unix tools I use.

Also if I do: curl http://example.com/ | json2yaml it sometimes fails if the site is a bit slow to load. See also #6

@coolaj86
Copy link
Owner

I can't remember why I did it this way.

And, hey, what could possibly go wrong?

@coolaj86 coolaj86 merged commit 2906e8e into coolaj86:master Apr 19, 2016
@eush77 eush77 deleted the no-timeout branch April 19, 2016 05:36
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.

3 participants