Skip to content

Commit

Permalink
Oops, we want cache clears.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndouglas committed Sep 22, 2023
1 parent 55148bc commit 5248e2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/stress-test-json-api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,14 @@ for ((i=1; i<=batches; i++)); do
start_index=$(( (j - 1) * requests ));
these_request_urls=( "${request_urls[@]:start_index:requests}" );
urls_file="${urls_file_prefix}${j}";
echo "${urls_file}";
for url in "${these_request_urls[@]}"; do
echo -n "--output /dev/null ${url} " >> "${urls_file}";
done;
done;

# Clear cache.
echo "Clearing cache...";
# ${clear_cache_command};
${clear_cache_command};

# Run the threads.
echo "Running ${threads} threads...";
Expand Down

0 comments on commit 5248e2c

Please sign in to comment.