mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-17 04:30:03 +02:00
cmd/thalos/main.go: have running variable be set to true on initialization.
No point setting it in readerLoop() as its only used to exit the application, as soon as its set to false. the application should exit as soon as possible.
This commit is contained in:
parent
24bf44a175
commit
7b1b500b22
1 changed files with 1 additions and 2 deletions
|
|
@ -39,14 +39,13 @@ var conf *config.Config
|
|||
|
||||
var shClient *shipclient.Stream
|
||||
|
||||
var running bool = false
|
||||
var running bool = true
|
||||
|
||||
var VersionString string = "dev"
|
||||
|
||||
var exit chan bool
|
||||
|
||||
func readerLoop(processor *app.ShipProcessor) {
|
||||
running = true
|
||||
recon_cnt := 0
|
||||
|
||||
exp := &backoff.ExponentialBackOff{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue