make checkin intervals configurable and remove extra nats conn
This commit is contained in:
parent
9ccb95449e
commit
f1db416d56
4 changed files with 79 additions and 24 deletions
|
|
@ -322,3 +322,12 @@ func createTmpFile() (*os.File, error) {
|
|||
}
|
||||
return f, nil
|
||||
}
|
||||
|
||||
func stringInSlice(a string, list []string) bool {
|
||||
for _, b := range list {
|
||||
if b == a {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue