This repository was archived by the owner on Feb 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ PL-v0.6.0 (in progress)
18
18
- THX: thanks to @benedfit for the MQ idea which he originally named "phases"
19
19
- THX: thanks to @alienlebarge for the "clean public/" idea
20
20
21
+ PL-v0.3.6
22
+ - FIX: added a delay to the watcher so the CPU doesn't get maxed
23
+ - THX: thanks to martin berglund for the heads up
24
+
21
25
PL-v0.3.5
22
26
- ADD: an explicit MIT license
23
27
- FIX: updated .gitignore so that it's more flexible
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
/*!
4
- * Pattern Lab Builder CLI - v0.3.5
4
+ * Pattern Lab Builder CLI - v0.3.6
5
5
*
6
6
* Copyright (c) 2013 Dave Olsen, http://dmolsen.com
7
7
* Licensed under the MIT license
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
/*!
4
- * Pattern Lab Builder Class - v0.3.5
4
+ * Pattern Lab Builder Class - v0.3.6
5
5
*
6
6
* Copyright (c) 2013 Dave Olsen, http://dmolsen.com
7
7
* Licensed under the MIT license
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
/*!
4
- * Pattern Lab Generator Class - v0.3.5
4
+ * Pattern Lab Generator Class - v0.3.6
5
5
*
6
6
* Copyright (c) 2013 Dave Olsen, http://dmolsen.com
7
7
* Licensed under the MIT license
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
/*!
4
- * Pattern Lab Watcher Class - v0.3.5
4
+ * Pattern Lab Watcher Class - v0.3.6
5
5
*
6
6
* Copyright (c) 2013 Dave Olsen, http://dmolsen.com
7
7
* Licensed under the MIT license
@@ -210,6 +210,9 @@ public function watch() {
210
210
unset($ this ->msf );
211
211
if (gc_enabled ()) gc_collect_cycles ();
212
212
213
+ // pause for .05 seconds to give the CPU a rest
214
+ usleep (50000 );
215
+
213
216
}
214
217
215
218
}
You can’t perform that action at this time.
0 commit comments