Skip to content

Commit

Permalink
Change amount of time to run in daemon mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Shkardoon authored and igor-silverstripe committed Feb 1, 2016
1 parent efbbf28 commit 76456ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/tasks/BuildStaticCacheFromQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function run($request) {

if($request->getVar('daemon')) {
$this->daemon = true;
while($this->buildCache() && $this->hasRunLessThan(590)) {
while($this->buildCache() && $this->hasRunLessThan(270)) {
usleep(200000); //sleep for 200 ms
$this->runningTime();
$this->summaryObject = null;
Expand Down

0 comments on commit 76456ec

Please sign in to comment.