mirror of
https://github.com/openziti/zrok.git
synced 2025-03-02 17:12:10 +01:00
remove old test log and add log for exiting loop
This commit is contained in:
parent
3a79608474
commit
deb6831fee
@ -28,12 +28,12 @@ func (ma *maintenanceAgent) run() {
|
||||
select {
|
||||
case <-ma.ctx.Done():
|
||||
{
|
||||
logrus.Info("Stopping maintenance loop...")
|
||||
ticker.Stop()
|
||||
return
|
||||
}
|
||||
case <-ticker.C:
|
||||
{
|
||||
logrus.Info("TICK")
|
||||
if err := ma.deleteExpiredAccountRequests(); err != nil {
|
||||
logrus.Error(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user