earl / beanstalkc

A simple beanstalkd client library for Python
Apache License 2.0
458 stars 115 forks source link

NetworkSafeConnection #38

Closed ysmolski closed 8 years ago

ysmolski commented 10 years ago

This is the new class for Safe network interaction I mentioned before in issues. It provides non-interruptable workflow for clients (retrying after socket errors, hiding this info from client, but can dump warning in the log stream, if one is provided)

I have implemented the class and test-doc for it.

Also I have used this new class on our production to replaces nasty binding of internal queues and omniORBpy to simplify things.

ysmolski commented 10 years ago

I wonder why travis cannot process NetworkSafeConnection.mkd.

It starts beanstalkd server with binlog pointing to temporary dir. Seems like beanstalkd cannot be started this way on Travis-ci environment.

But locally this test passes.

@earl Can you please check it out? Maybe you would have better ideas...