Sortable Networks; Disable noobhack
This commit is contained in:
1 parent
7e6d0c0b91
commit
e3380f21f5
2 files changed
+46
-9
No files matched your search
+3
-3
@@ -625,9 +625,9 @@ def clientGetWorkload(request):
|
||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
||||
|
||||
# HACK: Make Noobpwnftw's workers jump around
|
||||
if request.POST['username'] == 'WorkerPool':
|
||||
N = len(set([x.engine for x in OpenBench.utils.getActiveTests()]))
|
||||
if random.randrange(1 + N) == 0: return HttpResponse('None')
|
||||
# if request.POST['username'] == 'WorkerPool':
|
||||
# N = len(set([x.engine for x in OpenBench.utils.getActiveTests()]))
|
||||
# if random.randrange(1 + N) == 0: return HttpResponse('None')
|
||||
|
||||
# Verify the User's credentials
|
||||
try: user = authenticate(request, True)
|
||||
|
||||
Reference in new issue
Block a user