1. stefanjummp
  2. jummp

Commits

Mihai Glonț  committed fc65d58

Do not add a model that the user has submitted to their history.

That way, Hibernate does not throw a StaleStateException when
the oldest entries in the user's model history are removed from
multiple threads in a manner that is not thread-safe.

  • Participants
  • Parent commits 3310520

Comments (0)

Files changed (1)

File grails-app/services/net/biomodels/jummp/core/ModelService.groovy

View file
  • Ignore whitespace
             if (!result) {
                 return null
             }
-            modelHistoryService.addModelToHistory(model)
+//            modelHistoryService.addModelToHistory(model)
             return Revision.get(result[0])
         }