Skip to content

Commit

Permalink
Merge pull request #881 from j0k3r/fix/error-doctrine-cache
Browse files Browse the repository at this point in the history
Fix error with Doctrine cache
  • Loading branch information
j0k3r authored Apr 20, 2022
2 parents f106d9b + 01bf8be commit cccf7b5
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 38 deletions.
74 changes: 37 additions & 37 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/Repository/VersionRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public function findExistingOne($tagName, $repoId)
->andWhere('v.tagName = :tagName')->setParameter('tagName', $tagName)
->setMaxResults(1)
->getQuery()
->enableResultCache(3600 * 24 * 31, 'version-' . $repoId . '-' . $tagName)
;

return $query->getOneOrNullResult(AbstractQuery::HYDRATE_SINGLE_SCALAR);
Expand Down

0 comments on commit cccf7b5

Please sign in to comment.