diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-10-14 16:56:13 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-10-19 13:58:15 -0700 |
commit | 04bf527966db559523fb0ec317af5076241f1bc5 (patch) | |
tree | c80b091f13755fc43ce6f3da46f20ea3af019b3c /mattermost.go | |
parent | b5b233f3f02dae61ecf796d8b87a0fafb7b7c499 (diff) | |
download | chat-04bf527966db559523fb0ec317af5076241f1bc5.tar.gz chat-04bf527966db559523fb0ec317af5076241f1bc5.tar.bz2 chat-04bf527966db559523fb0ec317af5076241f1bc5.zip |
Changed all goroutine functions to use '...AndForget' as the standard naming system
Diffstat (limited to 'mattermost.go')
-rw-r--r-- | mattermost.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mattermost.go b/mattermost.go index 48487ee73..e1ae58904 100644 --- a/mattermost.go +++ b/mattermost.go @@ -66,7 +66,7 @@ func main() { manualtesting.InitManualTesting() } - securityAndDiagnosticsJob() + runSecurityAndDiagnosticsJobAndForget() // wait for kill signal before attempting to gracefully shutdown // the running service @@ -78,7 +78,7 @@ func main() { } } -func securityAndDiagnosticsJob() { +func runSecurityAndDiagnosticsJobAndForget() { go func() { for { if *utils.Cfg.ServiceSettings.EnableSecurityFixAlert { |