Merge pull request #5792 from nextcloud/bugfix/rotateLogLessOften

Bugfix/rotate log less often
This commit is contained in:
Matthieu Gallien 2023-06-09 18:05:40 +02:00 committed by GitHub
commit df44da8198
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@
namespace { namespace {
constexpr int CrashLogSize = 20; 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) static bool compressLog(const QString &originalName, const QString &targetName)
{ {