Make mysql getHeartbeatData() method not count query/RTT in estimate
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 17 Aug 2017 19:31:23 +0000 (12:31 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 17 Aug 2017 19:31:23 +0000 (12:31 -0700)
commit07cd19aeee112edad98832621b3f0b7b1d6f69a5
treef553af82bd0a95c5cee71817ab51781894550655
parentebcb7aef37d54d8d8fea75ca0156a010f2fd0c9a
Make mysql getHeartbeatData() method not count query/RTT in estimate

Optimize for the common case where lag does not strictly increase
during trip times instead of being pessimistic.

Change-Id: Ibb0e3faad23862d397e1cc2a9f7e2a8293fa5f2b
includes/libs/rdbms/database/DatabaseMysqlBase.php