Bug#735000: libconfig-model-dpkg-perl: On exec 'cme check dpkg-control' displayed error message 'EV: error in callback (ignoring): AnyEvent::CondVar: recursive blocking wait attempted'
Dominique Dumont
dod at debian.org
Wed Jan 15 08:35:52 UTC 2014
On Tuesday 14 January 2014 22:59:42 you wrote:
> Do you actually need more than one query? At least rmadison on the
> command line happily accepts several packages at once:
... [ several seconds of dumbfounded silence ]
AAAAAAAAAAAAAAAAARRRRRRRRRRRRRRRRRRGGGGGGGGGGGGGGGGGGGHH
HHHHHHHHHHHH !!!!!!!!
I've worked countless hours to shoehorn AnyEvent and async stuff in
Config::Model to run parrallel queries to madison. :-(
In fact, madison API accepts several packages in a single URL like:
http://qa.debian.org/cgi-bin/madison.cgi?package=perl-tk+perl&text=on
This will be much faster than running several queries (even parrallel
queries).
Too bad I did not learn this a few months back.
ok. Here's the plan: I'm going to remove all async stuff from Config::Model
and Config::Model::Dpkg. This will make the code simpler, well, less
complicated.
I'll use the URL above to get all required information in blocking mode in
C::M::Dpkg::Dependency.
If I ever need to run parrallel queries. I'll use Coro or old school fork with
IPC.
Thoughts ?
gregoa, thanks for the wake-up call :-)
--
https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140115/c20d8c11/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140115/c20d8c11/attachment-0001.sig>
More information about the pkg-perl-maintainers
mailing list