-
-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Description
There is a problem with current DIC expiration check.
Cosider following config:
services:
- MyServiceLet's say I change content of MyService.php from
<?php
class MyService {}to
<?php
class MyService
{
public function foo();
}(file changed, dependencies didn't)
On next request DependencyChecker compares modification times with meta file of generated container, which differs. Dependency hash is now calculated and matches the one in meta file, so container is considered non-expired.
The problem is that meta file is not updated and hash is calculated on every request, which leads to performance overhead for large containers.
Metadata
Metadata
Assignees
Labels
No labels