Skip to content

[Bug]: excessive sleep in patroni_core_controller.go #162

Description

@vlsi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions