Skip to content
Permalink
Browse files
speed up list users
  • Loading branch information
usmannasir committed Feb 7, 2020
1 parent 2e1f310 commit c9dc4f0b466e8ca165569acccb0715adae7ba5e1
Showing 1 changed file with 2 additions and 1 deletion.
@@ -991,7 +991,8 @@ def fetchTableUsers(request):
diskUsage = 0

for webs in items.websites_set.all():
diskUsage = virtualHostUtilities.getDiskUsage("/home/" + webs.domain, webs.package.diskSpace)[0] + diskUsage
#diskUsage = virtualHostUtilities.getDiskUsage("/home/" + webs.domain, webs.package.diskSpace)[0] + diskUsage
diskUsage = 1

owner = Administrator.objects.get(pk=items.owner)

0 comments on commit c9dc4f0

Please sign in to comment.