summaryrefslogtreecommitdiffstats
path: root/mattermost.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-10-20 07:58:05 -0400
committerJoram Wilander <jwawilander@gmail.com>2015-10-20 07:58:05 -0400
commit7d8e08ccf6211d3df78eb6cfd4a198df77072540 (patch)
tree8703ffd97990c74e60360b6ddba811eb0065eea1 /mattermost.go
parent88b3aa4d80e7ee540083f897cdce3f9634c4a8f9 (diff)
parent04bf527966db559523fb0ec317af5076241f1bc5 (diff)
downloadchat-7d8e08ccf6211d3df78eb6cfd4a198df77072540.tar.gz
chat-7d8e08ccf6211d3df78eb6cfd4a198df77072540.tar.bz2
chat-7d8e08ccf6211d3df78eb6cfd4a198df77072540.zip
Merge pull request #1095 from rgarmsen2295/plt-661
PLT-661 Changed all goroutine functions to use '...AndForget' as the naming convention
Diffstat (limited to 'mattermost.go')
-rw-r--r--mattermost.go4
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 {