Changes between Version 1 and Version 2 of Ticket #23216, comment 38
- Timestamp:
- 01/29/2013 06:22:02 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23216, comment 38
v1 v2 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), 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.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 `medium`, and setting `fast` will look into the second argument: for how long/how many "beats", and will revert to `medium` after that.