()
| 546 | } |
| 547 | |
| 548 | func (n *clusterNode) MarkAsFailing() { |
| 549 | atomic.StoreUint32(&n.failing, uint32(time.Now().Unix())) |
| 550 | atomic.StoreUint32(&n.loaded, 0) |
| 551 | } |
| 552 | |
| 553 | func (n *clusterNode) Failing() bool { |
| 554 | timeout := int64(n.Client.opt.FailingTimeoutSeconds) |
no outgoing calls
no test coverage detected