🐛 Fixed memleak
This commit is contained in:
@@ -5,9 +5,9 @@ export default function () {
|
||||
for (let i = 0; i < 250; i++) {
|
||||
var rand = Math.random()
|
||||
if (rand > 0.5) {
|
||||
http.get(`http://127.0.0.1:8080/get/${random_string(1)}`);
|
||||
http.get(`http://127.0.0.1:8082/get/${random_string(1)}`);
|
||||
} else {
|
||||
http.post(`http://127.0.0.1:8080/set/${random_string(1)}`, random_string(5));
|
||||
http.post(`http://127.0.0.1:8082/set/${random_string(1)}`, random_string(5));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user