vapor / async-kit

Sugary extensions for the SwiftNIO library
MIT License
71 stars 25 forks source link

connection pool circular buffer #22

Closed tanner0101 closed 5 years ago

tanner0101 commented 5 years ago

20 added a generic connection pool to this package. An implementation detail of this connection pool is that waiters are served FILO. This shouldn't cause any correctness problems, but ideally waiters would be served FIFO. A CircularBuffer may help do this without any performance loss.

calebkleveter commented 5 years ago

Fixed in https://github.com/vapor/nio-kit/pull/25