This repository has been archived by the owner on Apr 5, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the ability to control the watch interval
- Loading branch information
Bob Olde Hampsink
committed
Apr 4, 2016
1 parent
bbc608f
commit 236506a
Showing
4 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
namespace Craft; | ||
|
||
/** | ||
* Task Manager. | ||
* | ||
* @author Bob Olde Hampsink <[email protected]> | ||
* @copyright Copyright (c) 2015, Bob Olde Hampsink | ||
* @license MIT | ||
* | ||
* @link http://github.com/boboldehampsink | ||
*/ | ||
return array( | ||
|
||
// How long should we wait before we forfeit a task as hanging? | ||
'taskTimeout' => 0, | ||
|
||
// At what interval should the watcher watch for new tasks? (in seconds) | ||
'taskInterval' => 10 | ||
); |
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