Skip to content

Commit a019c01

Browse files
committed
Fix typo in simulation type and optimize performance
1 parent 2e75481 commit a019c01

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ There are two configuration files that need to be supplied before launching the
155155
"teams": "<int> <required> <the number of teams that should participate in the simulation>",
156156
"services": "<List(string)> <required> <the repository names of the services that should be used for the simulation>",
157157
"checker-ports": "<List(int)> <required> <the port numbers of the service checkers. the order should be the same as in services>",
158-
"simulation-type": "<string> <required> <the type of simulation to run. choose between 'realistic', 'basic-stress-test', 'stress-test' and 'intesive-stress-test'>",
158+
"simulation-type": "<string> <required> <the type of simulation to run. choose between 'realistic', 'basic-stress-test', 'stress-test' and 'intensive-stress-test'>",
159159
"scoreboard-file": "<string> <optional> <the path to a scoreboard file in json format from a past competition that will be used to derive a team experience distribution for the simulation>"
160160
},
161161
"ctf-json": {

config/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"teams": "<int> <required> <the number of teams that should participate in the simulation>",
1919
"services": "<List(string)> <required> <the repository names of the services that should be used for the simulation>",
2020
"checker-ports": "<List(int)> <required> <the port numbers of the service checkers. the order should be the same as in services>",
21-
"simulation-type": "<string> <required> <the type of simulation to run. choose between 'realistic', 'basic-stress-test', 'stress-test' and 'intesive-stress-test'>",
21+
"simulation-type": "<string> <required> <the type of simulation to run. choose between 'realistic', 'basic-stress-test', 'stress-test' and 'intensive-stress-test'>",
2222
"scoreboard-file": "<string> <optional> <the path to a scoreboard file in json format from a past competition that will be used to derive a team experience distribution for the simulation>"
2323
},
2424
"ctf-json": {

enosimulator/simulation/orchestrator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ async def _send_exploit_requests(
255255
self.console.log(exploit_request)
256256

257257
try:
258+
# TODO: - do the following in an async task group for more performance
258259
r = await self.client.post(
259260
exploit_checker_address,
260261
data=req_to_json(exploit_request),

0 commit comments

Comments
 (0)