Browse Source

updated debug retry params.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
c1db25e3e0
  1. 4
      extensions/yii/debug/controllers/DefaultController.php

4
extensions/yii/debug/controllers/DefaultController.php

@ -64,7 +64,7 @@ class DefaultController extends Controller
public function actionToolbar($tag) public function actionToolbar($tag)
{ {
$this->loadData($tag, 3); $this->loadData($tag, 5);
return $this->renderPartial('toolbar', [ return $this->renderPartial('toolbar', [
'tag' => $tag, 'tag' => $tag,
'panels' => $this->module->panels, 'panels' => $this->module->panels,
@ -116,7 +116,7 @@ class DefaultController extends Controller
$this->summary = $data['summary']; $this->summary = $data['summary'];
return; return;
} }
sleep(2); sleep(1);
} }
throw new NotFoundHttpException("Unable to find debug data tagged with '$tag'."); throw new NotFoundHttpException("Unable to find debug data tagged with '$tag'.");

Loading…
Cancel
Save