Skip to content

Commit

Permalink
increase buffer size and tmr interval
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Sep 27, 2023
1 parent 3143cf9 commit c5c9b2d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
#endif

#ifndef TRACE_BUFFER_SIZE
#define TRACE_BUFFER_SIZE 10000
#define TRACE_BUFFER_SIZE 100000
#endif

enum {
TRACE_FLUSH_TMR = 1000,
TRACE_FLUSH_TMR = 10000,
};

#define DEBUG_MODULE "trace"
Expand Down Expand Up @@ -106,6 +106,7 @@ static inline int get_process_id(void)
static int flush_worker(void *arg)
{
(void)arg;

re_trace_flush();

return 0;
Expand Down

0 comments on commit c5c9b2d

Please sign in to comment.