summaryrefslogtreecommitdiff
path: root/daemon/worker.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/worker.h')
-rw-r--r--daemon/worker.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/daemon/worker.h b/daemon/worker.h
index ff69bc1acfd4..63613430b054 100644
--- a/daemon/worker.h
+++ b/daemon/worker.h
@@ -103,6 +103,10 @@ struct worker {
struct comm_point* cmd_com;
/** timer for statistics */
struct comm_timer* stat_timer;
+ /** ratelimit for errors, time value */
+ time_t err_limit_time;
+ /** ratelimit for errors, packet count */
+ unsigned int err_limit_count;
/** random() table for this worker. */
struct ub_randstate* rndstate;