Add cancel option to terminate queries

This commit is contained in:
Julien Riou 2018-06-30 11:11:24 +02:00
commit dcb07c225e
No known key found for this signature in database
GPG key ID: BA3E15176E45E85D
5 changed files with 22 additions and 1 deletions

View file

@ -38,6 +38,7 @@ type Config struct {
ExcludeUsers StringFlags `yaml:"exclude-users"`
ExcludeUsersRegex string `yaml:"exclude-users-regex"`
ExcludeUsersRegexCompiled *regexp.Regexp
Cancel bool `yaml:"cancel"`
}
func init() {