summaryrefslogtreecommitdiff
path: root/eventlet/pools.py
Commit message (Collapse)AuthorAgeFilesLines
* PEP-8 fixesSergey Shepelev2014-08-271-2/+3
|
* python3 compat fixesVictor Sergeyev2014-03-281-1/+1
| | | | https://github.com/eventlet/eventlet/pull/59
* python3 compat: remove lots of Python 2.5 and earlier dependent code; use ↵Sergey Shepelev2013-12-031-39/+21
| | | | print() function syntax
* python3 compat: print() function syntaxSergey Shepelev2013-12-031-2/+5
|
* Better accounting of current_size in pools.Pool, thanks to Brett Hoerner for ↵Ryan Williams2011-06-081-3/+8
| | | | reporting #91.
* Fixed sphinx warnings, thanks to jbergstroem for buggin' me about them.Ryan Williams2010-08-201-5/+5
|
* Two minor tweaks.Ryan Williams2010-03-151-1/+1
|
* added `create` argument to pools.Pool constructorSergey Shepelev2010-03-101-7/+31
| | | | | | | | This argument takes a nullary function and assigns it to `self.create`, so the function is used for creating new items in pool. This is another method to create items in pool, sometimes simpler than subclassing.
* fixed various minor issues that pyflakes complained about, removed ↵Tavis Rudd2010-02-241-28/+26
| | | | extraneous whitespace, wrapped long lines
* Improved docs on pools for ericflo, fixes #40.Ryan Williams2010-02-211-32/+57
|
* Deprecated api.py and removed references to it.Ryan Williams2010-02-201-1/+0
|
* Added getting() and putting() methods to the Queue class, replaced ↵Ryan Williams2010-01-231-5/+5
| | | | coros.queue with queue.Queue in pools.py.
* More doc cleanup. Removed timer module from docs because it's an internal ↵Ryan Williams2009-12-311-12/+6
| | | | detail.
* Indentation problem caused >2.4 to break.Ryan Williams2009-12-031-19/+19
|
* Fixes to make tests pass on python2.4. The tricks to make with-statement ↵Ryan Williams2009-12-031-23/+29
| | | | stuff work even when imported by 2.4 are especially tricky, but there doesn't seem to be a better alternative.
* Removed copyright headers from individual files, added LICENSE and AUTHORS ↵Ryan Williams2009-10-031-21/+0
| | | | files to give credit instead. Linked authors list into documentation.
* Added with-statement to pools.Pool objects for mad 2.5-ability. Should be ↵Ryan Williams2009-10-031-5/+25
| | | | 2.4-compatible though.
* Ammended eventlet Sphinx documentation. This removed some of the ↵Huin Linden2009-09-171-11/+14
| | | | Doxygen-isms, and introduced some more complete linking between parts of the documents.
* Removed ConnectionPool which didn't seem usable, and also Pool.fan which has ↵Ryan Williams2009-07-141-72/+8
| | | | been supplanted by better abstractions.
* fix pools to use new Queue classDenis Bilenko2009-06-221-5/+3
|
* remove doctest.testmod() from the modules which had itDenis Bilenko2009-06-201-4/+0
| | | | there's test__doctests.py now that runs the doctests
* move copytright and license out of docstring in the commentsDenis Bilenko2009-06-121-23/+20
|
* pools: don't use channel (which is now deprecated) use queue(0) directlyDenis Bilenko2009-06-121-6/+5
|
* remove a number of unused importsDenis Bilenko2009-06-081-1/+0
|
* remove CoroutinePool from poolsDenis Bilenko2009-06-081-456/+0
|
* pools: add doctest runner at the endDenis Bilenko2009-05-221-0/+4
|
* Disabled timing-sensitive db_pool tests until we come up with a better way ↵Ryan Williams2009-05-201-1/+2
| | | | to keep them from failing all the time. Re-fixed raising-while-creating bug. Now all the tests pass.
* import pools.py from https://bitbucket.org/which_linden/eventlet/Denis Bilenko2009-05-191-101/+64
|
* Time-based expiry for db_pool. This adds the ability to expire connections ↵rdw2008-08-131-3/+26
| | | | by idleness and also to cap them to a finite lifespan (which will come in handy for e.g. mysql, which holds some locks on a per-connection basis).
* move CoroutinePool from coros to poolsDenis Bilenko2009-05-191-2/+550
|
* Rename the eventlet.support.greenlet module to greenlets to avoid clashing ↵donovan2008-12-291-49/+0
| | | | with the pypi greenlet distribution; support the pypi greenlet distribution; port httpc_test to use wsgi instead of httpd; add channel back in because I couldn't get pool to work properly with queue yet
* fixed cyclic import in eventlet.poolsDenis Bilenko2008-11-241-1/+1
|
* Initial implementation of libeventhub. Works for some basic socket stuff ↵rdw2008-03-161-0/+184
but it's got problems.