Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
reviews of sync in case of MT access phase 2
Browse files Browse the repository at this point in the history
  • Loading branch information
robfrank committed Jul 20, 2017
1 parent 534874f commit b2c2a47
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ public Object get(Object key) {

@Override
public Object getInTx(Object key, OLuceneTxChanges changes) {
openIfClosed();
updateLastAccess();
openIfClosed();

try {
if (key instanceof Map) {
Expand All @@ -93,6 +93,7 @@ private Object newGeoSearch(Map<String, Object> key, OLuceneTxChanges changes) t
public void put(Object key, Object value) {

if (key instanceof OIdentifiable) {
updateLastAccess();
openIfClosed();

ODocument location = ((OIdentifiable) key).getRecord();
Expand Down

0 comments on commit b2c2a47

Please sign in to comment.