gbehrmann/opennaas — comment on commit c5350e60973d04c1562dd3c8e21312ff4c924601
File:  line 0
By isartcanyameres:

All sleeps after repository.removeResource were there to assure changes have been flushed in the database (we didn't know that was the cause, but found sleeping avoided the error). Good you noticed and removed them now they are of no use at all.