Closed ch0k0bn closed 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, []])
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, []])