octokit/octokit.net — pull request #587 by shiftkey (2014-10-07 18:37:48+00:00)
Title: Set the DefaultTimeout with the Connection

So #554 is one option, but as @Haacked and I discussed it'd be nicer to avoid the static property. So this is my proposal to satisfy that in the simplest possible way.

`Connection` is where we create the `Request` objects, before passing them to the `HttpClientAdapter` - so why not configure it there?

This adds a new `ctor` to `GitHubClient` where you can set this:

```
var client = new GitHubClient(new ProductHeaderValue("OctokitTests"), TimeSpan.FromMinutes(30));
```

I don't believe anyone else is using more than the default one, but I'm sure I'll hear about them sooner rather than later if they also want this...

cc @distantcam @Arakis for feedback