mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing munin.
This commit is contained in:
parent
1d82535faf
commit
2ade3b31e9
3 changed files with 3 additions and 4 deletions
|
@ -26,7 +26,7 @@ psutil==0.7.1
|
|||
pyes==0.19.1
|
||||
pyelasticsearch==0.5
|
||||
pyflakes==0.6.1
|
||||
pymongo==2.2
|
||||
pymongo==2.5.2
|
||||
python-dateutil==2.1
|
||||
python-gflags==2.0
|
||||
pytz==2013b
|
||||
|
|
1
fabfile.py
vendored
1
fabfile.py
vendored
|
@ -201,7 +201,6 @@ def setup_app(skip_common=False):
|
|||
update_gunicorn()
|
||||
# setup_node_app()
|
||||
# config_node()
|
||||
pre_deploy()
|
||||
deploy_web()
|
||||
config_monit_app()
|
||||
done()
|
||||
|
|
|
@ -21,8 +21,8 @@ class NBMuninGraph(MuninGraph):
|
|||
from apps.reader.models import UserSubscription
|
||||
from apps.social.models import MSocialProfile, MSocialSubscription
|
||||
return {
|
||||
'feeds': Feed.objects.count(),
|
||||
'subscriptions': UserSubscription.objects.count(),
|
||||
'feeds': Feed.objects.latest('pk').pk,
|
||||
'subscriptions': UserSubscription.objects.latest('pk').pk,
|
||||
'profiles': MSocialProfile.objects.count(),
|
||||
'social_subscriptions': MSocialSubscription.objects.count(),
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue