Update memory limit warning in health check
This commit is contained in:
parent
29229dfbfd
commit
edcf9af11d
|
|
@ -198,11 +198,11 @@ class _HealthCheckDialogState extends State<HealthCheckDialog> {
|
||||||
*/
|
*/
|
||||||
if (!state.account.isDocker &&
|
if (!state.account.isDocker &&
|
||||||
phpMemoryLimitDouble! > 100 &&
|
phpMemoryLimitDouble! > 100 &&
|
||||||
phpMemoryLimitDouble < 512)
|
phpMemoryLimitDouble < 1024)
|
||||||
_HealthListTile(
|
_HealthListTile(
|
||||||
title: 'PHP memory limit is too low',
|
title: 'PHP memory limit is too low',
|
||||||
subtitle:
|
subtitle:
|
||||||
'Increase the limit to at least 512M to support the in-app update',
|
'Increase the limit to 1024M to support the in-app update',
|
||||||
level: _HealthCheckLevel.Warning,
|
level: _HealthCheckLevel.Warning,
|
||||||
),
|
),
|
||||||
if (_response!.queue == 'sync')
|
if (_response!.queue == 'sync')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue