FB-1505 - Fixed for PR: renamed monitorTTL to monitorViewsRemoval

This commit is contained in:
Hoang Pham 2022-06-30 13:35:27 -05:00 • committed by Matthew Jaffee
parent 367448b034
commit d807071a17

View file

@ -659,7 +659,7 @@ func (s *Server) Open() error {
go func() { defer s.wg.Done(); s.monitorAntiEntropy() }()
go func() { defer s.wg.Done(); s.monitorRuntime() }()
go func() { defer s.wg.Done(); s.monitorDiagnostics() }()
go func() { defer s.wg.Done(); s.monitorTTL() }()
go func() { defer s.wg.Done(); s.monitorViewsRemoval() }()
toSend := func() []Message {
s.holder.startMsgsMu.Lock()
@ -843,7 +843,7 @@ func (s *Server) monitorResetTranslationSync() {
}
}
func (s *Server) monitorTTL() {
func (s *Server) monitorViewsRemoval() {
ctx := context.Background()
// Run ViewsRemoval on server start
s.ViewsRemoval(ctx)