Commit graph

14 commits

Author SHA1 Message Date
Alexandre Emsenhuber
15e9fcca01 Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.

Change-Id: Iaebd4e253ff3b35b568e9b394231a5691445ac95
2012-05-14 19:59:58 +02:00
Aaron
fbecd7781b Destroy any lock manager connections when forking.
Change-Id: I320ac659559eb82378da0b9afbbb1dd3e48ba41c
2012-04-20 16:34:43 -07:00
Aaron Schulz
4bfce6a539 Make sure ForkController nukes any connection resources that backends might have before forking 2012-03-09 22:59:13 +00:00
Sam Reed
76246b9bf5 More return documentation 2012-02-09 21:33:27 +00:00
Tim Starling
2ba6b03e8e * Fix class name
* unset($wgMemc) doesn't actually do anything useful, it just removes the reference from the local scope. Set it to NULL instead.
2011-12-20 04:39:12 +00:00
Sam Reed
ad39f2da86 Trim trailing whitespace
Add/tweak/update documentation

Simplify some boolean returns
2011-09-04 21:40:17 +00:00
Sam Reed
296f3d3f4f And even more documentation 2011-05-28 18:59:42 +00:00
Platonides
9ced2d5c60 Follow up r83140. Add a clear() method to ObjectCache so that it can be used by ForkController. 2011-03-06 23:07:36 +00:00
Sam Reed
04f68827d0 Removal of unused globals
Removal of one setting of a variable to '', then not using further
2010-07-24 19:11:52 +00:00
Alexandre Emsenhuber
2620333e1d * add ForkController class to Maintenance group
* removed trailing spaces
2010-01-15 18:12:13 +00:00
Tim Starling
2ec95d3326 Assorted minor live patches to command-line scripts. 2009-04-30 05:52:25 +00:00
Tim Starling
0104dd55c9 Allow children to respond to SIGTERM 2009-03-18 02:30:02 +00:00
Tim Starling
d9bf616a44 * Added restart-on-error feature to ForkController, changed the interface to suit.
* Close some sockets before pcntl_exec() in an attempt to delay file handle exhaustion.
2009-02-27 04:18:34 +00:00
Tim Starling
abbf76b7b1 * Refactored the forking code from runJobs.php to a new class called ForkController. Implemented the same sort of forking in gearmanWorker.php.
* Fixed debugging code left in in gearmanRefreshLinks.php
2009-02-26 06:02:32 +00:00