Changes between Initial Version and Version 1 of Ticket #23216, comment 38
- Timestamp:
- 01/29/2013 06:21:30 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23216, comment 38
initial v1 14 14 In that terms `wp.heartbeat.interval()` should probably accept two int arguments, first is the interval in seconds, second would be for how many "beats" (optional, default 10?). Then we can protect a lower value for the interval so plugins don't stomp each other. 15 15 16 Another possibility is to have three values: fast(5), normal(15), slow(30). Then setting it to `slow` will only be possible if the current value is `normal`, and setting `fast` will look into the second argument: for how long/how many "beats", and will revert to `normal` after that.16 Another possibility is to have three values: fast(5), medium(15), slow(30). Then setting it to `slow` will only be possible if the current value is `normal`, and setting `fast` will look into the second argument: for how long/how many "beats", and will revert to `medium` after that.