mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 18:46:19 +00:00
ae2d9b996c
There's an issue reported on slow devices when sending a batch of images. All the requests are send concurrently, and the sending of messages is processed concurrently in the background. On slow devices or connection with slow upload speed this may result in expired envelopes, as the POW calculation or the upload takes too long, and either they never leave the device, or worse they reach the mailserver but won't be stored because already expired on arrival. This commit allows setting the max-images-batch config value, setting it to 1 for release and keeping it to 5 for other builds. Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
23 lines
439 B
Plaintext
23 lines
439 B
Plaintext
DEBUG_WEBVIEW=1
|
|
DEFAULT_NETWORK=mainnet_rpc
|
|
ERC20_CONTRACT_WARNINGS=0
|
|
ETHEREUM_DEV_CLUSTER=1
|
|
EXTENSIONS=0
|
|
FLEET=eth.prod
|
|
GROUP_CHATS_ENABLED=1
|
|
LOG_LEVEL=info
|
|
MAILSERVER_CONFIRMATIONS_ENABLED=1
|
|
MAINNET_WARNING_ENABLED=1
|
|
PFS_ENCRYPTION_ENABLED=1
|
|
PFS_TOGGLE_VISIBLE=1
|
|
POW_TARGET=0.002
|
|
POW_TIME=1
|
|
SNOOPY=0
|
|
RPC_NETWORKS_ONLY=0
|
|
PARTITIONED_TOPIC=0
|
|
CONTRACT_NODES=1
|
|
ENABLE_ROOT_ALERT=1
|
|
ENABLE_REFERRAL_INVITE=0
|
|
MAX_IMAGES_BATCH=5
|
|
BLANK_PREVIEW=0
|