diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-15 11:20:26 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-15 11:20:26 +0100 |
commit | 7330952d4fb455c073376745776ac771e6882c0a (patch) | |
tree | 13bad1e3942f225f4befdede87e90753db4bd7b2 /src | |
parent | 46313ee3de4e09c6fa3fc92d4ad6ab7c4f2165a5 (diff) | |
download | rspamd-7330952d4fb455c073376745776ac771e6882c0a.tar.gz rspamd-7330952d4fb455c073376745776ac771e6882c0a.zip |
Fix dependencies nesting.
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/symbols_cache.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libserver/symbols_cache.c b/src/libserver/symbols_cache.c index 308b29fe1..cfb830ee2 100644 --- a/src/libserver/symbols_cache.c +++ b/src/libserver/symbols_cache.c @@ -895,7 +895,7 @@ rspamd_symbols_cache_watcher_cb (gpointer sessiond, gpointer ud) if (!rspamd_symbols_cache_check_deps (task, cache, it, checkpoint)) { remain ++; - continue; + break; } rspamd_symbols_cache_check_symbol (task, cache, it, checkpoint); @@ -1010,6 +1010,8 @@ rspamd_symbols_cache_check_deps (struct rspamd_task *task, checkpoint)) { g_ptr_array_add (checkpoint->waitq, item); ret = FALSE; + msg_debug_task ("delayed dependency %d for symbol %d", + dep->id, item->id); } else if (!rspamd_symbols_cache_check_symbol (task, cache, dep->item, |