Browse Source

Quit method was added to Service/BaseService

Refs https://github.com/tendermint/tendermint/issues/1205
pull/1780/head
Anton Kaliaev 7 years ago
parent
commit
5913ae8960
No known key found for this signature in database GPG Key ID: 7B6881D965918214
3 changed files with 13 additions and 13 deletions
  1. +1
    -1
      client/socket_client.go
  2. +11
    -11
      glide.lock
  3. +1
    -1
      glide.yaml

+ 1
- 1
client/socket_client.go View File

@ -135,7 +135,7 @@ func (cli *socketClient) sendRequestsRoutine(conn net.Conn) {
default:
// Probably will fill the buffer, or retry later.
}
case <-cli.BaseService.Quit:
case <-cli.Quit():
return
case reqres := <-cli.reqQueue:
cli.willSendReq(reqres)


+ 11
- 11
glide.lock View File

@ -1,5 +1,5 @@
hash: 304088ee640b9e5897ece75503d07f800aabba0618bd668bf1144f478809b646
updated: 2018-02-03T02:38:14.152640307-05:00
hash: 1d098f2b05c1895e810b75c282fceda06975a0eaf89bed621157bc2e6e1956cc
updated: 2018-02-12T08:19:16.965601799Z
imports:
- name: github.com/go-kit/kit
version: 4dc7be5d2d12881735283bcab7352178e190fc71
@ -10,7 +10,7 @@ imports:
- name: github.com/go-logfmt/logfmt
version: 390ab7935ee28ec6b286364bba9b4dd6410cb3d5
- name: github.com/go-stack/stack
version: 817915b46b97fd7bb80e8ab6b69f01a53ac3eebf
version: 100eb0c0a9c5b306ca2fb4f165df21d80ada4b82
- name: github.com/gogo/protobuf
version: 1adfc126b41513cc696b209667c8656ea7aac67c
subpackages:
@ -21,7 +21,7 @@ imports:
- sortkeys
- types
- name: github.com/golang/protobuf
version: 1e59b77b52bf8e4b449a57e6f79f21226d571845
version: 1643683e1b54a9e88ad26d98f81400c8c9d9f4f9
subpackages:
- proto
- ptypes
@ -41,9 +41,9 @@ imports:
- name: github.com/spf13/cobra
version: 7b2c5ac9fc04fc5efafb60700713d4fa609b777b
- name: github.com/spf13/pflag
version: 97afa5e7ca8a08a383cb259e06636b5e2cc7897f
version: 80fe0fb4eba54167e2ccae1c6c950e72abf61b73
- name: github.com/syndtr/goleveldb
version: b89cc31ef7977104127d34c1bd31ebd1a9db2199
version: 8c81ea47d4c41a385645e133e15510fc6a2a74b4
subpackages:
- leveldb
- leveldb/cache
@ -58,14 +58,14 @@ imports:
- leveldb/table
- leveldb/util
- name: github.com/tendermint/tmlibs
version: deaaf014d8b8d1095054380a38b1b00e293f725f
version: a57340ffb53aefb0fca1fc610d18fcbcc61b126f
subpackages:
- common
- db
- log
- process
- name: golang.org/x/net
version: d866cfc389cec985d6fda2859936a575a55a3ab6
version: cd69bc3fc700721b709c3a59e16e24c67b58f6ff
subpackages:
- context
- http2
@ -75,14 +75,14 @@ imports:
- lex/httplex
- trace
- name: golang.org/x/text
version: c01e4764d870b77f8abe5096ee19ad20d80e8075
version: 470f45bf29f4147d6fbd7dfd0a02a848e49f5bf4
subpackages:
- secure/bidirule
- transform
- unicode/bidi
- unicode/norm
- name: google.golang.org/genproto
version: a8101f21cf983e773d0c1133ebc5424792003214
version: f676e0f3ac6395ff1a529ae59a6670878a8371a6
subpackages:
- googleapis/rpc/status
- name: google.golang.org/grpc
@ -106,7 +106,7 @@ imports:
- transport
testImports:
- name: github.com/davecgh/go-spew
version: 346938d642f2ec3594ed81d874461961cd0faa76
version: 6d212800a42e8ab5c146b8ace3490ee17e5225f9
subpackages:
- spew
- name: github.com/pmezard/go-difflib


+ 1
- 1
glide.yaml View File

@ -9,7 +9,7 @@ import:
- package: github.com/spf13/cobra
version: v0.0.1
- package: github.com/tendermint/tmlibs
version: develop
version: a57340ffb53aefb0fca1fc610d18fcbcc61b126f
subpackages:
- common
- db


Loading…
Cancel
Save