mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Updating psutil dependency deprecation.
This commit is contained in:
parent
4099a07f07
commit
a650df9f90
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
import psutil
|
||||
import math
|
||||
|
||||
GIGS_OF_MEMORY = psutil.TOTAL_PHYMEM/1024/1024/1024.
|
||||
GIGS_OF_MEMORY = psutil.virtual_memory().total/1024/1024/1024.
|
||||
NUM_CPUS = psutil.NUM_CPUS
|
||||
|
||||
bind = "0.0.0.0:8000"
|
||||
|
|
Loading…
Add table
Reference in a new issue