ActiveBrainAtlas2 / activebrainatlasadmin

This is the ActiveBrainAtlas database portal. This project provides the admin area to edit data associated with the Active Brain Atlas project. It also provides the REST API.
0 stars 1 forks source link

Excessive REST calls while volume tool is open #210

Open eddyod opened 9 months ago

eddyod commented 9 months ago

When working on a polygon in the volume tool there is a constant call to this url: GET /brainsharer/landmark_list HTTP/2.0" 200 539

I drew a polygon around the cerebellum. Before I did that, the number of occurrences of landmark list in the logs was 2864. After I moved off the section the count was: 3198

grep "landmark_list" /var/log/nginx/brainsharer.org_access.log | wc -l

drinehart1 commented 9 months ago

Is this only single user or also multi? I thought multi synched with fire base and only did callback to brainsharer host when clicking save.Sent from my iPhoneOn Sep 12, 2023, at 20:57, eddyod @.***> wrote: When working on a polygon in the volume tool there is a constant call to this url: GET /brainsharer/landmark_list HTTP/2.0" 200 539 I drew a polygon around the cerebellum. Before I did that, the number of occurrences of landmark list in the logs was 2864. After I moved off the section the count was: 3198 grep "landmark_list" /var/log/nginx/brainsharer.org_access.log | wc -l

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were assigned.Message ID: @.***>

eddyod commented 9 months ago

I first saw this issue in single user mode. But I just now tested it with multi user mode and it is doing the same thing. The dropdown menus are populated from REST calls to the mysql database. That is what the landmark_list url is doing. It is fetching the different brain regions.