Skip to content

Commit

Permalink
Set file size to 10 kb and increase log rotation to avoid high memalloc
Browse files Browse the repository at this point in the history
  • Loading branch information
disa6302 committed Jan 20, 2024
1 parent 7971d55 commit 19b6b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/Samples.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ extern "C" {

#define CA_CERT_PEM_FILE_EXTENSION ".pem"

#define FILE_LOGGING_BUFFER_SIZE (10000 * 1024)
#define FILE_LOGGING_BUFFER_SIZE (10 * 1024)
#define MAX_NUMBER_OF_LOG_FILES 5

#define SAMPLE_HASH_TABLE_BUCKET_COUNT 50
Expand Down

0 comments on commit 19b6b11

Please sign in to comment.