rewrite CouchDB trigger
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 3 Oct 2011 20:34:04 +0000 (22:34 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 3 Oct 2011 20:34:04 +0000 (22:34 +0200)
This version uses just one put request for each received document,
but expects to get notification of lock which is now first element
of active array in format of hostname:pid

It makes it play nicely with new Mojo::UserAgent which doesn't
want to issue multiple put requests even if I create new Mojo::UserAgent
for each of them.


No differences found