moosasaadat
ATApache TinkerPop
•Created by moosasaadat on 2/21/2023 in #questions
repeat with times(1) causing timeout
I'm trying to run a subtraversal of my query inside a repeat step. For some reason, it keeps timing out even with the breaking condition of
times(1)
.
Query 1 (runtime: 85 ms)
Query 2 (timeout)
Profiling these queries shows a huge difference in index operations.
Note: To avoid timeout while profiling I added limit(100)
after hasLabel("VertexB")
in both queries.
Query 1
Query 2
What could be the reason?9 replies