Skip to content

Commit

Permalink
reduce minimum rollover from 1 min to 5 sec, for latency
Browse files Browse the repository at this point in the history
  • Loading branch information
baallan committed Dec 13, 2024
1 parent aa63414 commit a5a1ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldms/src/sampler/blob_stream/blob_stream_writer.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static int rolltype = -1;
rolltype==4 and rollover < MIN_ROLL_BYTES -> rollover = MIN_ROLL_BYTES */
#define MIN_ROLL_BYTES 1024
/** Interval to check for passing the record or byte count limits. */
#define ROLL_LIMIT_INTERVAL 60
#define ROLL_LIMIT_INTERVAL 5

static pthread_t rothread;
static int rothread_used = 0;
Expand Down

0 comments on commit a5a1ec4

Please sign in to comment.