Skip to content

Commit 46f1c36

Browse files
committed
Mark service as lazy to avoid requesting token at cache:clear time
1 parent 1149a90 commit 46f1c36

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Resources/config/services.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ services:
99

1010
Bookboon\Api\Bookboon:
1111
public: true
12+
lazy: true
1213
factory: ['Bookboon\ApiBundle\Service\ApiFactory', create]
1314
arguments:
1415
- '@Bookboon\ApiBundle\Helper\ConfigurationHolder'

0 commit comments

Comments
 (0)