()
| 510 | } |
| 511 | |
| 512 | func getCheckThreshold() time.Duration { |
| 513 | threshold := configuration.Current.ExpiringCheckThreshold |
| 514 | if threshold <= 0 { |
| 515 | return configuration.ExpiringCheckThreshold * 24 * time.Hour |
| 516 | } |
| 517 | return time.Duration(threshold) * 24 * time.Hour |
| 518 | } |
no outgoing calls
no test coverage detected