Reduce the interval to 64 so worst-case work between checks is ~64 MiB.
cpu_limit_exceeded() is a signal-counter comparison with no syscall, so
the higher call frequency has no measurable cost.
Gbp-Pq: Name 0008-lib-sieve-Reduce-CPU-limit-check-interval-in-contain.patch
* configured sieve_max_cpu_time (which is otherwise only checked between
* bytecode operations).
*/
-#define SIEVE_CONTAINS_CPU_CHECK_INTERVAL 4096
+#define SIEVE_CONTAINS_CPU_CHECK_INTERVAL 64
static int mcht_contains_match_key
(struct sieve_match_context *mctx, const char *val, size_t val_size,
* configured sieve_max_cpu_time. Returns 1 on match, 0 on exhaustion, or -1
* when the CPU time limit was exceeded (mctx->exec_status is set).
*/
-#define SIEVE_MATCHES_CPU_CHECK_INTERVAL 4096
+#define SIEVE_MATCHES_CPU_CHECK_INTERVAL 64
static int
_string_find(struct sieve_match_context *mctx,