SetPool sets the pool interface for removing connections on handoff failure
(pooler pool.Pooler)
| 81 | |
| 82 | // SetPool sets the pool interface for removing connections on handoff failure |
| 83 | func (ph *PoolHook) SetPool(pooler pool.Pooler) { |
| 84 | ph.pool = pooler |
| 85 | } |
| 86 | |
| 87 | // GetCurrentWorkers returns the current number of active workers (for testing) |
| 88 | func (ph *PoolHook) GetCurrentWorkers() int { |
no outgoing calls