Ensure that log files are not too big, else the rageshake server will reject the request.
See https://github.com/element-hq/element-android/issues/9096#issuecomment-3480128082 Closes #5983
This commit is contained in:
@@ -25,4 +25,9 @@ object RageshakeConfig {
|
||||
* The maximum size of the upload request. Default value is just below CloudFlare's max request size.
|
||||
*/
|
||||
const val MAX_LOG_UPLOAD_SIZE = 50 * 1024 * 1024L
|
||||
|
||||
/**
|
||||
* The maximum size of a single log file.
|
||||
*/
|
||||
const val MAX_LOG_CONTENT_SIZE = 100 * 1024 * 1024L
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user