We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 711763c commit 1a1545bCopy full SHA for 1a1545b
cmd/serve_cmd.go
@@ -63,17 +63,6 @@ func serve(ctx context.Context) {
63
defer wg.Wait() // Do not return to caller until this goroutine is done.
64
65
mrCache := templatemailer.NewCache()
66
- if !config.Mailer.TemplateReloadingEnabled {
67
- // If template reloading is disabled attempt an initial reload at
68
- // startup for fault tolerance.
69
- wg.Add(1)
70
- go func() {
71
- defer wg.Done()
72
-
73
- mrCache.Reload(ctx, config)
74
- }()
75
- }
76
77
limiterOpts := api.NewLimiterOptions(config)
78
initialAPI := api.NewAPIWithVersion(
79
config, db, utilities.Version,
0 commit comments