quarkslab / irma-brain

IRMA brain
21 stars 4 forks source link

Concurrent access to probe_list fail #27

Closed ch0k0bn closed 8 years ago

ch0k0bn commented 8 years ago

If you have at least 2 workers for scan_app, simultaneous calls to probe_list fails. This issue explains a lot of flip-flop effect in the probe list.

In [1]: from brain.tasks import * In [2]: a,b = probe_list.delay(),probe_list.delay() In [3]: a.get(), b.get() Out[3]: ([0, [u'AVGAntiVirusFree', u'BitdefenderForUnices', u'ClamAV', u'EScan', u'VirusBlokAda', u'EsetNod32', u'McAfeeVSCL', u'McAfee-Daemon', u'Zoner']], [0, []])