Permalink
Browse files

Added connection queue support

  • Loading branch information...
1 parent 2fa1288 commit acc44f49625171f841e715ad1ec33ad6767fb7a9 Emilio González committed May 11, 2012
Showing with 134 additions and 112 deletions.
  1. +105 −95 asyncmongo/cursor.py
  2. +29 −17 asyncmongo/pool.py
Oops, something went wrong.

1 comment on commit acc44f4

@emdagon
Owner

This commit avoid the TooManyConnections exception in favor to manage a waiting list of connections. Instead of raise the exception, it will take the next cached connection and run the operation (find, update, ...) on it.

Please sign in to comment.