#include "ratetypes.h" /* needs util and pthread.h */
#include "logging.h"
-#define PRINT_COUNTER_RESET (7)
+#define PRINT_COUNTER_RESET (0)
extern uint8_t system_loglevel;
static int printcounter = PRINT_COUNTER_RESET - 1;
memset(comm_nodes, 0, config->peer_count * sizeof(remote_node_t));
ident->id = config->id;
- ident->limit = (uint32_t) (((double) config->limit * 1000000.0) / 8.0);
+ ident->limit = (uint32_t) (((double) config->limit * 1000.0) / 8.0);
ident->fixed_ewma_weight = config->fixed_ewma_weight;
ident->intervals = config->intervals;
ident->ewma_weight = pow(ident->fixed_ewma_weight,