[wp-trac] [WordPress Trac] #61960: Heartbeat API: consider changing the min allowed time

WordPress Trac noreply at wordpress.org
Wed Sep 11 23:07:41 UTC 2024


#61960: Heartbeat API: consider changing the min allowed time
----------------------------+----------------------------
 Reporter:  annezazu        |       Owner:  peterwilsoncc
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  6.7
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  performance
----------------------------+----------------------------
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59016" 59016]:
 {{{
 #!CommitTicketReference repository="" revision="59016"
 Administration: Increase frequency of heartbeat API requests.

 Increases the frequency of heartbeat API requests from once every 15
 seconds to once every 10 seconds.

 The purpose of this change is to reduce the length of time before a post
 becomes unlocked as a user navigates around the WordPress Dashboard and
 ceases editing a post.

 `wp.heartbeat.interval()` has been modified to allow theme and plugin
 authors to set the heartbeat interval to any value between one second and
 one hour rather than limiting them to a fixed set of values.

 Props azaozz, annezazu, jorbin, kirasong.
 Fixes #61960.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61960#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list