Describe the bug
See
|
pr.logger.Info("Reconcile will be started...") |
|
time.Sleep(30 * time.Second) |
The sleep is not documented, and it looks like it spends time without explanation.
At least the code should document the sleep or it should be replaced with a conditional wait.
To Reproduce
See
|
pr.logger.Info("Reconcile will be started...") |
|
time.Sleep(30 * time.Second) |
Version
No response
Logs
No response
Additional information
No response
Describe the bug
See
pgskipper-operator/operator/controllers/patroni_core_controller.go
Lines 196 to 197 in 6dbb712
The sleep is not documented, and it looks like it spends time without explanation.
At least the code should document the sleep or it should be replaced with a conditional wait.
To Reproduce
See
pgskipper-operator/operator/controllers/patroni_core_controller.go
Lines 196 to 197 in 6dbb712
Version
No response
Logs
No response
Additional information
No response