Switch to side-by-side view
--- a/Allura/allura/model/discuss.py +++ b/Allura/allura/model/discuss.py @@ -158,6 +158,7 @@ session(thread).flush(thread) return thread except DuplicateKeyError as err: + log.warning('Got DuplicateKeyError: attempt #%s, trying again. %s', i, err) if i == 4: raise session(thread).expunge(thread)