Good morning,
I am working on a project where I am facing a problem that I do not know why it happens, I am doing a data update from Spring-Boot to neo4j using:
@Query("match(n:Post {id:$id}) set n.name = $name ....")
in my repository and when I call this method from my post like service to update the statistics that my post would have for reaching a new like then this method takes 30 to 40 seconds to execute, which is very slow for a simple update of properties.
I run the same update directly in the neo4j browser and it is done in 1ms, I need to know how this update is done correctly from spring boot because the user has to wait more than 40s every time they give a like, it is a long time.
Cordially greetings