forked from p34709852/monkey
Island: Change the order of FileRepository decorators
The caching decorator was suppressing debug log messages. Reversing their order resolves the issue.
This commit is contained in:
parent
18f995919d
commit
df8132c86c
|
@ -77,7 +77,7 @@ def _register_repositories(container: DIContainer, data_dir: Path):
|
|||
|
||||
def _decorate_file_repository(file_repository: IFileRepository) -> IFileRepository:
|
||||
return FileRepositoryLockingDecorator(
|
||||
FileRepositoryCachingDecorator(FileRepositoryLoggingDecorator(file_repository))
|
||||
FileRepositoryLoggingDecorator(FileRepositoryCachingDecorator(file_repository))
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue