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:
parent
62768359cb
commit
80ba0e9b0d
3 changed files with 65 additions and 23 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue