[Checkins] [zopefoundation/ZEO] 28914a: Use uvloop in the single-threaded server

GitHub noreply at github.com
Tue Aug 9 20:33:04 CEST 2016


  Branch: refs/heads/asyncio
  Home:   https://github.com/zopefoundation/ZEO
  Commit: 28914ad24ab474a43a9b1fd4fa8efda4b821655a
      https://github.com/zopefoundation/ZEO/commit/28914ad24ab474a43a9b1fd4fa8efda4b821655a
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-08-09 (Tue, 09 Aug 2016)

  Changed paths:
    M src/ZEO/asyncio/server.py
    M src/ZEO/nagios.rst
    M src/ZEO/tests/drop_cache_rather_than_verify.txt
    M src/ZEO/tests/new_addr.test
    M src/ZEO/tests/testConfig.py
    M src/ZEO/tests/testZEO.py
    M src/ZEO/tests/testZEO2.py
    M src/ZEO/tests/test_client_credentials.py
    M src/ZEO/tests/test_client_side_conflict_resolution.py
    M src/ZEO/tests/testssl.py
    A src/ZEO/tests/threaded.py

  Log Message:
  -----------
  Use uvloop in the single-threaded server

To accomplish this, it was necessary to rearrange the tests so that
tests that ran servers in threads rather than using multiprocessing
into their own layer.  This is due to a bug currently in uvloop that
prevents using running uvloop servers in a process and in subprocesses
created with multiprocessing:

https://github.com/MagicStack/uvloop/issues/39

To run the tests with uvloop installed, it's necessary to use the
``-j`` option to run layers in separate processes.


  Commit: 49bc8e4649b0114855e336b857aba7f9bd743ac9
      https://github.com/zopefoundation/ZEO/commit/49bc8e4649b0114855e336b857aba7f9bd743ac9
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2016-08-09 (Tue, 09 Aug 2016)

  Changed paths:
    M src/ZEO/asyncio/server.py
    M src/ZEO/nagios.rst
    M src/ZEO/tests/drop_cache_rather_than_verify.txt
    M src/ZEO/tests/new_addr.test
    M src/ZEO/tests/testConfig.py
    M src/ZEO/tests/testZEO.py
    M src/ZEO/tests/testZEO2.py
    M src/ZEO/tests/test_client_credentials.py
    M src/ZEO/tests/test_client_side_conflict_resolution.py
    M src/ZEO/tests/testssl.py
    A src/ZEO/tests/threaded.py

  Log Message:
  -----------
  Merge pull request #72 from zopefoundation/uvloop-server

Use uvloop in the single-threaded server


Compare: https://github.com/zopefoundation/ZEO/compare/cc26ec388656...49bc8e4649b0


More information about the checkins mailing list