Skip to content

Commit

Permalink
Merge pull request #2 from lucaippo/fix-spooler-jobs
Browse files Browse the repository at this point in the history
Fix spooler jobs in stats
  • Loading branch information
Eugene MechanisM committed Apr 24, 2015
2 parents 62b6e3e + d6658c9 commit 8352f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_uwsgi/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_uwsgi_stats():
w['running_time'] = w['running_time'] / 1000
w['load'] = w['running_time'] / total_load / 10 / len(workers)
w['last_spawn'] = datetime.fromtimestamp(w['last_spawn'])
jobs = {}
jobs = []
if uwsgi.opt['spooler']:
spooler_jobs = uwsgi.spooler_jobs()
for j in spooler_jobs:
Expand Down

0 comments on commit 8352f55

Please sign in to comment.