Split menu actions for smaller footprint
This commit is contained in:
@@ -112,5 +112,7 @@ class KOReaderSyncClient {
|
||||
* reports a heap-pressure message instead of attempting (and crashing) the TLS handshake.
|
||||
*/
|
||||
static constexpr unsigned MIN_CONTIG_HEAP_FOR_TLS = 36 * 1024;
|
||||
// Relaxed threshold only for upload when reusing an already-established session.
|
||||
// Uploads that must perform a fresh handshake still require MIN_CONTIG_HEAP_FOR_TLS.
|
||||
static constexpr unsigned MIN_CONTIG_HEAP_FOR_TLS_UPLOAD = 34 * 1024;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user