mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
do not clear cache on repository modification only on deletion
This commit is contained in:
@@ -343,7 +343,7 @@ public final class RepositoryServiceFactory
|
|||||||
@Override
|
@Override
|
||||||
public void onEvent(Repository repository, HandlerEvent event)
|
public void onEvent(Repository repository, HandlerEvent event)
|
||||||
{
|
{
|
||||||
if ((event == HandlerEvent.MODIFY) || (event == HandlerEvent.DELETE))
|
if (event == HandlerEvent.DELETE)
|
||||||
{
|
{
|
||||||
clearCaches(repository.getId());
|
clearCaches(repository.getId());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user