mirror of https://github.com/perkeep/perkeep.git
c36a3a087e
When new blobs arrive we re-run open search queries (those requested by an active websocket client) in case they changed, and then push the new result to the browser if they did change. But when uploading lots of data if the browser has a big search query active, it was possible to start running the same query in many goroutines over the same data. Don't do that. Verified that this was the case with some temporary logging in the already-refreshing case. Updates camlistore/camlistore#519 |
||
---|---|---|
.. | ||
describe.go | ||
describe_test.go | ||
export_test.go | ||
expr.go | ||
expr_test.go | ||
handler.go | ||
handler_test.go | ||
lexer.go | ||
lexer_test.go | ||
match_test.go | ||
predicate.go | ||
predicate_test.go | ||
query.go | ||
query_test.go | ||
search.go | ||
websocket.go |