On Fri, Apr 19, 2013 at 3:20 PM, Erik Rose <[email protected]> wrote: > > callers:someFunc never completes for me; I get a "504 Gateway Timed Out" > Is there an easy way to run the same dxr request from the command line to > see if it's a timeout problem or a query issue? actually, is there a > CLI-level interface at all? > > Are you accessing DXR through Apache, then? I think if you run the dev > server with dxr-serve.py and talk straight to it, it won't time out. It > sounds like we're missing an index or something. >
Tried this and it worked. "callers:someFunc" took, according to the returned web page "Query executed in 225.399s" That's a long time. How can I help you figure out which index (or indices) are missing? If I remember correctly, that query used to have an obnoxious number of outer and inner joins. Maybe there's a way to denormalize the data a bit such that the query could be simplified? -- Chris Cleeland _______________________________________________ dev-static-analysis mailing list [email protected] https://lists.mozilla.org/listinfo/dev-static-analysis
