Skip to content

Commit

Permalink
rotate the logs less often (around every 3 MB of compressed logs)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Jun 12, 2023
1 parent f44ed61 commit 80cf8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsync/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
namespace {

constexpr int CrashLogSize = 20;
constexpr int MaxLogSizeBytes = 1024 * 1024 * 3;
constexpr int MaxLogSizeBytes = 1024 * 1024 * 30;

static bool compressLog(const QString &originalName, const QString &targetName)
{
Expand Down

0 comments on commit 80cf8bf

Please sign in to comment.