Github user marktriggs commented on a diff in the pull request:

    https://github.com/apache/marmotta/pull/15#discussion_r44373835
  
    --- Diff: 
libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/sail/KiWiValueFactory.java
 ---
    @@ -565,6 +565,8 @@ public Statement createStatement(Resource subject, URI 
predicate, Value object,
     
                 KiWiTriple result = new 
KiWiTriple(ksubject,kpredicate,kobject,kcontext);
     
    +            boolean needsDBLookup = false;
    +
                 synchronized (registry) {
    --- End diff --
    
    I wondered about that too, but thought I'd have to change the 
`KiWiTripleRegistry` interface and add the lock to the three implementations.  
Wasn't sure if it was worth the reshuffling :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to