[wp-trac] [WordPress Trac] #25073: Heartbeat performance and API improvements

WordPress Trac noreply at wordpress.org
Thu Nov 14 02:36:36 UTC 2013


#25073: Heartbeat performance and API improvements
-------------------------+------------------------------
 Reporter:  evansolomon  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by azaozz):

 In 25073-6.patch:
 - Some cleanup of the previous few patches.
 - Removed stopping the "beat" after 15 min.

 The main behavior change in heartbeat is removing the skipping and instead
 making the default interval 60 sec. Anything that uses heartbeat can still
 set the interval to 5, 15, 30 or 60 sec. either from JS or PHP.

 The other proposed change is to completely stop the "beat" after a user
 has been inactive for 15|20|30 min. This would work similarly to a
 screensaver or a laptop going to "sleep". However this would change post
 locks behavior: heartbeat would stop effectively releasing the post lock.
 When the user becomes active again by either focusing the browser
 tab/window, typing, or moving the mouse, heartbeat will fire immediately.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25073#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list