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 28, 2024
1 parent eacfb77 commit 6758052
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 6758052

Please sign in to comment.