Change
Refactor data index update
Issue description
Is it really necessary to update the dataindex after every method call? It might be better to do it at the end of the request.
Developer comments
It is definitely unnecessary to update the data index on add\_subject\_locator, since this cannot be accelerated. This method is called every time a file is uploaded.
Generally the update is triggered after every method call, but many times nothing is acutally done, because only existing indices get updated. An index is created when Tobject::accelerate is called. Usually processes that modify the data do not read. Furthermore, when one process includes modifying calls to one method, it might be better to do the update all together at the end of the process.
Data index is now updated at the end of the process.
|
Work sessions
Start |
2016-11-20T10:21:16
|
End |
2016-11-20T11:41:08
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.