From c7822973f675a20661827d449e74d22070343473 Mon Sep 17 00:00:00 2001 From: Benjamin Kearns Date: Fri, 22 Sep 2023 17:25:20 +1200 Subject: [PATCH] Fix bulk queued requests in scripts --- internal/proxy/make_requests_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/proxy/make_requests_api.go b/internal/proxy/make_requests_api.go index 11c50d8..e47caf8 100644 --- a/internal/proxy/make_requests_api.go +++ b/internal/proxy/make_requests_api.go @@ -275,7 +275,7 @@ func bulkRequestWorker(ssl bool, hostname string, scanId string, requestParts [] req.Record() request_queue.Decrement(scanId) - project.ScriptDecrementTotalRequests(scanId) + project.ScriptIncrementRequestCount(scanId) } done <- true }