Skip to content

Commit

Permalink
Adapt backend benchmark script to new PR
Browse files Browse the repository at this point in the history
  • Loading branch information
justinefricou committed Aug 27, 2024
1 parent c2ed555 commit fa165b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/benchmarking/get_backend_measures.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ launch_scenario() {
do
if ! $1; then
# Empty the backend cache
curl 'http://geotrek.local:8000/admin/clearcache/' -X POST -H "Cookie: csrftoken=jJPzy1w4p7KNspD9QG1Y2xOqG8Oczf2l; sessionid=$SESSION_ID" --data-raw 'csrfmiddlewaretoken=VihAxtR8JyN10VzyXyyEAUSiwWIbVnPG4RWZVkd2YvnEia2xD4psshwy2UmdksHR&cache_name=fat'
# docker compose run --rm web ./manage.py dbshell -- -c "update core_path set source=null, target=null;"
# curl 'http://geotrek.local:8000/admin/clearcache/' -X POST -H "Cookie: csrftoken=jJPzy1w4p7KNspD9QG1Y2xOqG8Oczf2l; sessionid=$SESSION_ID" --data-raw 'csrfmiddlewaretoken=VihAxtR8JyN10VzyXyyEAUSiwWIbVnPG4RWZVkd2YvnEia2xD4psshwy2UmdksHR&cache_name=fat'
docker compose run --rm web ./manage.py dbshell -- -c "update core_path set source=null, target=null;"
fi

if [[ "$DATABASE" == "medium" ]]; then
Expand Down

0 comments on commit fa165b1

Please sign in to comment.