Skip to content
Snippets Groups Projects
Commit c16fac96 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixed a minor issue

parent 8576aa27
Branches
No related tags found
No related merge requests found
...@@ -68,6 +68,7 @@ func processImage(config *Config, client *redis.Client, value string) { ...@@ -68,6 +68,7 @@ func processImage(config *Config, client *redis.Client, value string) {
} }
func main() { func main() {
go func() {
config := NewConfigFromEnv() config := NewConfigFromEnv()
imagick.Initialize() imagick.Initialize()
...@@ -85,6 +86,7 @@ func main() { ...@@ -85,6 +86,7 @@ func main() {
go processImage(&config, client, value) go processImage(&config, client, value)
} }
} }
}()
http.HandleFunc("/healthz", func(w http.ResponseWriter, r *http.Request) { http.HandleFunc("/healthz", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("OK")) w.Write([]byte("OK"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment