Varnish Dashing widget to display the ratio of cache hit/miss.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once __DIR__ . DS . 'bootstrap.php'; | |
Configure::write('CakeResque.Worker.verbose', true); | |
Configure::write('CakeResque.Queues', array( | |
array( | |
'queue' => 'default', // Use default values from above for missing interval and count indexes | |
'workers' => 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
More faster : lint only modified files | |
-------------------------------------- | |
We create a new target to retrieve a list of modified files | |
If there is modified files, execute the lint target, else skip | |
with the `if="modifiedFiles"` option. | |
The list of modified files is stored in ${files.modified}, one file per line. |