Browse Source

sdlog2: max write chunk increased to 1024

sbg
Anton Babushkin 11 years ago
parent
commit
a478dac621
  1. 2
      src/modules/sdlog2/sdlog2.c

2
src/modules/sdlog2/sdlog2.c

@ -110,7 +110,7 @@ static bool logwriter_should_exit = false; /**< Logwriter thread exit flag */ @@ -110,7 +110,7 @@ static bool logwriter_should_exit = false; /**< Logwriter thread exit flag */
static const int MAX_NO_LOGFOLDER = 999; /**< Maximum number of log dirs */
static const int MAX_NO_LOGFILE = 999; /**< Maximum number of log files */
static const int LOG_BUFFER_SIZE_DEFAULT = 8192;
static const int MAX_WRITE_CHUNK = 512;
static const int MAX_WRITE_CHUNK = 1024;
static const int MIN_BYTES_TO_WRITE = 512;
static const char *log_root = "/fs/microsd/log";

Loading…
Cancel
Save