(ctx context.Context, weight int64)
| 493 | } |
| 494 | |
| 495 | func (r *dockerBase) Acquire(ctx context.Context, weight int64) error { |
| 496 | if r.limiter == nil { |
| 497 | return nil |
| 498 | } |
| 499 | return r.limiter.Acquire(ctx, weight) |
| 500 | } |
| 501 | |
| 502 | func (r *dockerBase) Release(weight int64) { |
| 503 | if r.limiter != nil { |