Show More
@@ -2343,6 +2343,12 b' class Repository(Base, BaseModel):' | |||
|
2343 | 2343 | log.debug('updated repo %s with new commit cache %s', |
|
2344 | 2344 | self.repo_name, cs_cache) |
|
2345 | 2345 | else: |
|
2346 | cs_cache = self.changeset_cache | |
|
2347 | cs_cache['updated_on'] = time.time() | |
|
2348 | self.changeset_cache = cs_cache | |
|
2349 | Session().add(self) | |
|
2350 | Session().commit() | |
|
2351 | ||
|
2346 | 2352 | log.debug('Skipping update_commit_cache for repo:`%s` ' |
|
2347 | 2353 | 'commit already with latest changes', self.repo_name) |
|
2348 | 2354 |
General Comments 0
You need to be logged in to leave comments.
Login now