##// END OF EJS Templates
changes transient to expunge on cached repo instances, due to odd very rare problems with previos approach.
marcink -
r753:ee801aa6 beta
parent child Browse files
Show More
@@ -180,7 +180,9 b' class ScmModel(BaseModel):'
180 180 .options(joinedload(Repository.user))\
181 181 .filter(Repository.repo_name == repo_name)\
182 182 .scalar()
183 make_transient(dbrepo)
183
184 self.sa.expunge(dbrepo)
185
184 186 repo.dbrepo = dbrepo
185 187 return repo
186 188
General Comments 0
You need to be logged in to leave comments. Login now