diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-24 16:26:12 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-24 16:26:12 +0000 |
commit | f827a09afb7785c97010e7116dc63b61efde6a25 (patch) | |
tree | d65f85a4aab45110f230dd6f9911c1344eb19415 /src/libserver/rspamd_symcache.h | |
parent | 1c547c7425d9a3a63a3ee471051ad197a642ba46 (diff) | |
download | rspamd-f827a09afb7785c97010e7116dc63b61efde6a25.tar.gz rspamd-f827a09afb7785c97010e7116dc63b61efde6a25.zip |
[Project] Add logic to break execution when processing symbols
Diffstat (limited to 'src/libserver/rspamd_symcache.h')
-rw-r--r-- | src/libserver/rspamd_symcache.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libserver/rspamd_symcache.h b/src/libserver/rspamd_symcache.h index 0eab043fd..c220b1ccc 100644 --- a/src/libserver/rspamd_symcache.h +++ b/src/libserver/rspamd_symcache.h @@ -569,6 +569,11 @@ const GPtrArray* rspamd_symcache_item_get_rdeps ( struct rspamd_symcache_item *item); +/** + * Enable profiling for task (e.g. when a slow rule has been found) + * @param task + */ +void rspamd_symcache_enable_profile (struct rspamd_task *task); #ifdef __cplusplus } #endif |