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

How best to setup longer timeouts for hubot in development during debugging? #1237

Closed
mtc2013 opened this issue Sep 13, 2016 · 1 comment
Closed
Labels

Comments

@mtc2013
Copy link

mtc2013 commented Sep 13, 2016

I want to be able to better debug hubot scripts/apps using hubot, but it seems that it times out in development too quickly. I noticed that it's using connect-timeout middleware and connect middleware but a cursory glance through some code and documentation didn't immediately suggest how I might increase timeouts on hubot itself.

Apologies in advance if this is not the best location for this type of question.

@technicalpickles
Copy link
Member

I'm not seeing anywhere we are using the connect timeout middleware, unless some other dependency is pulling it in. Here is what does get setup: https://github.com/github/hubot/blob/7899375f6012b7d3242efa3a9d9847a69528a898/src/robot.coffee#L409-L455

There's not a good way that can think of increase this, but I'm open to ideas.

cc #648 for some other conversations around debugging in general in case there's anything of note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants