mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
03e92987cb | ||
|
|
2f21b0addb | ||
|
|
9ed91cac28 | ||
|
|
97eef1ff90 | ||
|
|
17c90c7ec3 | ||
|
|
53d4e5ee17 |
4 changed files with 33 additions and 8 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
|
@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## [0.7.2] - 2017-11-15
|
||||
|
||||
This version contains 1 contribution from 1 contributor. There is 1 file changed, 16 insertions, and 1 deletion.
|
||||
|
||||
### Changed
|
||||
|
||||
- Bump HTTP client's MaxIdleConns and MaxIdleConnsPerHost ([#920](https://github.com/pilosa/pilosa/pull/920))
|
||||
|
||||
## [0.7.1] - 2017-10-09
|
||||
|
||||
This version contains 3 contributions from 3 contributors. There are 14 files changed, 221 insertions, and 52 deletions.
|
||||
|
|
@ -163,3 +171,5 @@ This version contains 53 contributions from 13 contributors (including 4 volunte
|
|||
[Unreleased]: https://github.com/pilosa/pilosa/compare/v0.5...HEAD
|
||||
[0.4.0]: https://github.com/pilosa/pilosa/compare/v0.3...v0.4
|
||||
[0.5.0]: https://github.com/pilosa/pilosa/compare/v0.4...v0.5
|
||||
[0.6.0]: https://github.com/pilosa/pilosa/compare/v0.5...v0.6
|
||||
[0.7.0]: https://github.com/pilosa/pilosa/compare/v0.6...v0.7
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM golang:1.9.1 as builder
|
||||
FROM golang:1.9.2 as builder
|
||||
|
||||
ARG ldflags=''
|
||||
|
||||
|
|
|
|||
|
|
@ -74,19 +74,19 @@ There are four ways to install Pilosa on MacOS: Use [Homebrew](https://brew.sh/)
|
|||
|
||||
1. Download the latest release:
|
||||
```
|
||||
curl -L -O https://github.com/pilosa/pilosa/releases/download/v0.7.1/pilosa-v0.7.1-darwin-amd64.tar.gz
|
||||
curl -L -O https://github.com/pilosa/pilosa/releases/download/v0.7.2/pilosa-v0.7.2-darwin-amd64.tar.gz
|
||||
```
|
||||
|
||||
Other releases can be downloaded from our Releases page on Github.
|
||||
|
||||
2. Extract the binary:
|
||||
```
|
||||
tar xfz pilosa-v0.7.1-darwin-amd64.tar.gz
|
||||
tar xfz pilosa-v0.7.2-darwin-amd64.tar.gz
|
||||
```
|
||||
|
||||
3. Move the binary into your PATH so you can run `pilosa` from any shell:
|
||||
```
|
||||
cp -i pilosa-v0.7.1-darwin-amd64/pilosa /usr/local/bin
|
||||
cp -i pilosa-v0.7.2-darwin-amd64/pilosa /usr/local/bin
|
||||
```
|
||||
|
||||
4. Make sure Pilosa is installed successfully:
|
||||
|
|
@ -228,19 +228,19 @@ There are three ways to install Pilosa on Linux: download the binary (recommende
|
|||
|
||||
1. To install the latest version of Pilosa, download the latest release:
|
||||
```
|
||||
curl -L -O https://github.com/pilosa/pilosa/releases/download/v0.7.1/pilosa-v0.7.1-linux-amd64.tar.gz
|
||||
curl -L -O https://github.com/pilosa/pilosa/releases/download/v0.7.2/pilosa-v0.7.2-linux-amd64.tar.gz
|
||||
```
|
||||
|
||||
Note: This assumes you are using an `amd64` compatible architecture. Other releases can be downloaded from our Releases page on Github.
|
||||
|
||||
2. Extract the binary:
|
||||
```
|
||||
tar xfz pilosa-v0.7.1-linux-amd64.tar.gz
|
||||
tar xfz pilosa-v0.7.2-linux-amd64.tar.gz
|
||||
```
|
||||
|
||||
3. Move the binary into your PATH so you can run `pilosa` from any shell:
|
||||
```
|
||||
cp -i pilosa-v0.7.1-linux-amd64/pilosa /usr/local/bin
|
||||
cp -i pilosa-v0.7.2-linux-amd64/pilosa /usr/local/bin
|
||||
```
|
||||
|
||||
4. Make sure Pilosa is installed successfully:
|
||||
|
|
|
|||
17
executor.go
17
executor.go
|
|
@ -20,6 +20,7 @@ import (
|
|||
"errors"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"net"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"sort"
|
||||
|
|
@ -57,7 +58,21 @@ type Executor struct {
|
|||
// NewExecutor returns a new instance of Executor.
|
||||
func NewExecutor() *Executor {
|
||||
return &Executor{
|
||||
HTTPClient: http.DefaultClient,
|
||||
HTTPClient: &http.Client{
|
||||
Transport: &http.Transport{
|
||||
Proxy: http.ProxyFromEnvironment,
|
||||
DialContext: (&net.Dialer{
|
||||
Timeout: 30 * time.Second,
|
||||
KeepAlive: 30 * time.Second,
|
||||
DualStack: true,
|
||||
}).DialContext,
|
||||
MaxIdleConns: 1000,
|
||||
MaxIdleConnsPerHost: 200,
|
||||
IdleConnTimeout: 90 * time.Second,
|
||||
TLSHandshakeTimeout: 10 * time.Second,
|
||||
ExpectContinueTimeout: 1 * time.Second,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue