]> source.dussan.org Git - rspamd.git/commit
Add extra sleep to avoid race condition
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 13 Jan 2016 00:14:05 +0000 (00:14 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 13 Jan 2016 00:14:05 +0000 (00:14 +0000)
commit100f7dc950fa1fefad2d522826a794b6b9297916
treeb3820177909c74f6dbf8dfce41f1539bde180ec1
parent72c9856de6f58085df2328557608426acaa36f0b
Add extra sleep to avoid race condition

When there are no expressions to compile it is possible that hs_helper
will send notice to no workers. So this sleep should resolve the most of
cases where this race occurs.
src/hs_helper.c