forked from gooberinc/goober
disabled exiting if too low memory
This commit is contained in:
parent
541c19e3ad
commit
4043f3b5ff
2 changed files with 1 additions and 1 deletions
BIN
assets/images/cache/breaking_news.png
vendored
BIN
assets/images/cache/breaking_news.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 2 MiB After Width: | Height: | Size: 2.1 MiB |
|
@ -177,7 +177,7 @@ def check_memory():
|
|||
logger.info(k.used_memory(used=used_memory))
|
||||
if free_memory < 1:
|
||||
logger.warning(f"{k.low_free_memory(free=free_memory)}")
|
||||
sys.exit(1)
|
||||
|
||||
except ImportError:
|
||||
logger.error(
|
||||
k.psutil_not_installed()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue