GetMaxStartDelay get the amount of time of startDelay config option
()
| 730 | |
| 731 | // GetMaxStartDelay get the amount of time of startDelay config option |
| 732 | func (cluster *Cluster) GetMaxStartDelay() int32 { |
| 733 | if cluster.Spec.MaxStartDelay > 0 { |
| 734 | return cluster.Spec.MaxStartDelay |
| 735 | } |
| 736 | return DefaultStartupDelay |
| 737 | } |
| 738 | |
| 739 | // GetMaxStopDelay get the amount of time PostgreSQL has to stop |
| 740 | func (cluster *Cluster) GetMaxStopDelay() int32 { |
no outgoing calls
no test coverage detected