mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 08:15:02 +00:00
Fix rageshakes not uploading if they are too long (#6075)
* Fix rageshakes not uploading if they are too long. The max log line size in the default rageshake server is `1_000_000`. * Change upload order to ensure the current logs and the push rules are always sent. * Add 'buffer' for unexpected log lines.
This commit is contained in:
committed by
GitHub
parent
62768359cb
commit
80ba0e9b0d
@@ -30,4 +30,9 @@ object RageshakeConfig {
|
||||
* The maximum size of a single log file.
|
||||
*/
|
||||
const val MAX_LOG_CONTENT_SIZE = 100 * 1024 * 1024L
|
||||
|
||||
/**
|
||||
* The maximum number of log lines a rageshake can contain.
|
||||
*/
|
||||
const val MAX_LOG_LINES_SIZE = 1_000_000
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user