daphne/channels/tests
Sachin Rekhi 363b5a09e9 improve @enforce_ordering to leverage a wait channel to avoid spinlocks (#144)
* improved @enforce_ordering to leverage a wait channel to avoid spinlocks

* addressed pyflake issues

* renamed wait channel to __wait__.<reply channel>

* handled potential ChannelFull exception

* updated sessions unit tests

* updated enforce_ordering tests to reflect new approach of leveraging wait channels

* addressed pyflake issues

* more pyflake fixes

* removed close_on_error handling on enforce_ordering since only worked on websockets
2016-05-12 10:38:06 -07:00
..
__init__.py Flake8 fixes 2016-04-04 03:38:38 +02:00
base.py Fix re-inserting, with tests (#146) 2016-05-08 12:21:58 -07:00
settings.py Introduce ChannelTestCase to make testing easier 2016-04-04 03:34:05 +02:00
test_handler.py Introduce ChannelTestCase to make testing easier 2016-04-04 03:34:05 +02:00
test_request.py Fix up tests under py3 2016-04-26 14:05:17 +01:00
test_routing.py Patchinator/django fixes 2016-04-05 16:20:49 -07:00
test_sessions.py improve @enforce_ordering to leverage a wait channel to avoid spinlocks (#144) 2016-05-12 10:38:06 -07:00
test_worker.py Fix re-inserting, with tests (#146) 2016-05-08 12:21:58 -07:00