diff options
author | Sam Reed <reedy@users.mediawiki.org> | 2011-02-19 00:44:38 +0000 |
---|---|---|
committer | Sam Reed <reedy@users.mediawiki.org> | 2011-02-19 00:44:38 +0000 |
commit | 7ebf2e5165d3eab9fc9725c51119475659b0b834 (patch) | |
tree | 5553c54d7dbf00ed9cd4707714702a6cb7323b33 /includes/db/LoadMonitor.php | |
parent | fa6402516114f900194ab0203ff8878f9094bcab (diff) | |
download | mediawikicore-7ebf2e5165d3eab9fc9725c51119475659b0b834.tar.gz mediawikicore-7ebf2e5165d3eab9fc9725c51119475659b0b834.zip |
More function level documentation
Fixup some indenting
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/82432
Diffstat (limited to 'includes/db/LoadMonitor.php')
-rw-r--r-- | includes/db/LoadMonitor.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/db/LoadMonitor.php b/includes/db/LoadMonitor.php index 9b959728c31e..8b73dd54d22a 100644 --- a/includes/db/LoadMonitor.php +++ b/includes/db/LoadMonitor.php @@ -117,6 +117,11 @@ class LoadMonitor_MySQL implements LoadMonitor { return $lagTimes; } + /** + * @param $conn DatabaseBase + * @param $threshold + * @return int + */ function postConnectionBackoff( $conn, $threshold ) { if ( !$threshold ) { return 0; |