##// END OF EJS Templates
api: drop commit - mark_for_invalidation will commit
Mads Kiilerich -
r3681:05006e3e beta
parent child Browse files
Show More
@@ -221,7 +221,6 b' class ApiController(JSONRPCController):'
221
221
222 try:
222 try:
223 invalidated_keys = ScmModel().mark_for_invalidation(repo.repo_name)
223 invalidated_keys = ScmModel().mark_for_invalidation(repo.repo_name)
224 Session().commit()
225 return ('Cache for repository `%s` was invalidated: '
224 return ('Cache for repository `%s` was invalidated: '
226 'invalidated cache keys: %s' % (repoid, invalidated_keys))
225 'invalidated cache keys: %s' % (repoid, invalidated_keys))
227 except Exception:
226 except Exception:
General Comments 0
You need to be logged in to leave comments. Login now