| 33 | } |
| 34 | |
| 35 | type instanceDeleteBackoff struct { |
| 36 | muxes sync.Map |
| 37 | } |
| 38 | |
| 39 | func (i *instanceDeleteBackoff) ShouldProcess(key string) (bool, time.Time) { |
| 40 | backoff, loaded := i.muxes.LoadOrStore(key, &instanceBackOff{}) |
nothing calls this directly
no outgoing calls
no test coverage detected