lp:~michihenning/unity-scopes-api/reconnect-fix
Created by
Michi Henning
and last modified
- Get this branch:
- bzr branch lp:~michihenning/unity-scopes-api/reconnect-fix
Only
Michi Henning
can upload to this branch. If you are
Michi Henning
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Marcus Tomlinson (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 406 lines (+219/-36)7 files modifiedCMakeLists.txt (+6/-1)
include/unity/scopes/internal/zmq_middleware/ConnectionPool.h (+24/-7)
src/scopes/internal/zmq_middleware/ConnectionPool.cpp (+45/-18)
src/scopes/internal/zmq_middleware/ZmqObject.cpp (+10/-10)
test/gtest/scopes/internal/zmq_middleware/CMakeLists.txt (+1/-0)
test/gtest/scopes/internal/zmq_middleware/ConnectionPool/CMakeLists.txt (+4/-0)
test/gtest/scopes/internal/zmq_middleware/ConnectionPool/ConnectionPool_test.cpp (+129/-0)
Related bugs
Bug #1364464: unity8-dash has a thread that is polling rather rapidly on epoll wait | Undecided | Invalid | |
Bug #1374206: Need socket garabage collector | Critical | Fix Released |
Related blueprints
Branch information
Recent revisions
- 498. By Michi Henning
-
More permanent fix for the Zmq infinite reconnection problem.
The outgoing connection pool now runs a reaper that removes
sockets from the pool after ten seconds idle time. - 497. By Michi Henning
-
Marked one of the ScopeExecData constructors as arch=amd64 because it
doesn't appear for i386 or armhf. - 493. By Michi Henning
-
Limited reconnection interval for outgoing oneway connections, to throttle
the reconnection attempts made by Zmq behind the scenes (even when there
are no outgoing requests pending). - 492. By Michi Henning
-
Changed connection pool to only provide oneway connections. For twoway invocations, we
create a new Zmq socket for each call to avoid the mad reconnection attempts by Zmq.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:unity-scopes-api