[BUG]: maxAgents not being set to TaskWrapper
zyronix opened this issue · comments
Version Information
0.14.1
Hashcat
No response
Description
- Create a task, set the maxAgents to for example '1' in the task creation screen
- Update the task maxAgents in the task overview screen to for example 50.
The expected behavior would be that the TaskWrapper would be updatet to 50. But it will stay on 1.
After creation:
SELECT taskWrapperId,maxAgents FROM TaskWrapper;
+---------------+-----------+
| taskWrapperId | maxAgents |
+---------------+-----------+
| 1 | 1 |
+---------------+-----------+
SELECT taskId,taskName,maxAgents FROM Task;
+--------+----------+-----------+
| taskId | taskName | maxAgents |
+--------+----------+-----------+
| 1 | Test | 1 |
+--------+----------+-----------+
After updating maxAgents to 50:
SELECT taskWrapperId,maxAgents FROM TaskWrapper;
+---------------+-----------+
| taskWrapperId | maxAgents |
+---------------+-----------+
| 1 | 1 |
+---------------+-----------+
SELECT taskId,taskName,maxAgents FROM Task;
+--------+----------+-----------+
| taskId | taskName | maxAgents |
+--------+----------+-----------+
| 1 | Test | 50 |
+--------+----------+-----------+
Expected behavior would be that both would be set to 50. As this will result in only 1 agent being assigned to the task max.