Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WP Plugins
Cron-Control
Commits
cbf17569
Commit
cbf17569
authored
Jul 06, 2017
by
Erick Hitter
Browse files
Workers should never exit, so die rather than continue in unexpected state
parent
70bec418
Changes
1
Hide whitespace changes
Inline
Side-by-side
runner/runner.go
View file @
cbf17569
...
...
@@ -110,8 +110,8 @@ func spawnEventWorkers(queue chan Event) {
close
(
workerEvents
)
time
.
Sleep
(
runEventsBreak
)
go
spawnEventWorkers
(
queue
)
logger
.
Println
(
"Event workers died, exiting"
)
os
.
Exit
(
1
)
}
func
keepAlive
()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment