mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Updating psutil dependency.
This commit is contained in:
parent
9d3c394c79
commit
814224689f
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
import psutil
|
||||
import math
|
||||
|
||||
GIGS_OF_MEMORY = psutil.TOTAL_PHYMEM/1024/1024/1024.
|
||||
NUM_CPUS = psutil.NUM_CPUS
|
||||
GIGS_OF_MEMORY = psutil.virtual_memory().total/1024/1024/1024.
|
||||
NUM_CPUS = psutil.cpu_count()
|
||||
|
||||
bind = "0.0.0.0:8000"
|
||||
pidfile = "/srv/newsblur/logs/gunicorn.pid"
|
||||
|
|
Loading…
Add table
Reference in a new issue