Commit 969c27c
* Initial plan
* Respect doing_cron transient in wp cron event run --due-now
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Pascal Birchler <pascal.birchler@gmail.com>
* Fix test
* Use wpcli_ prefix to distinguish WP-CLI cron lock from spawn_cron transient
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
* Use wp_cli_doing_cron transient instead of value prefix trick
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
* Use standard doing_cron transient with plain numeric microtime value
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
* Fix cron.feature:309 test by disabling spawn_cron() interference
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
* Set TTL on doing_cron transient; only delete if lock value still matches
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Co-authored-by: Pascal Birchler <pascalb@google.com>
Co-authored-by: Pascal Birchler <pascal.birchler@gmail.com>
1 parent 5bd4379 commit 969c27c
File tree
3 files changed
+57
-2
lines changed- features
- src
3 files changed
+57
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
310 | 315 | | |
311 | | - | |
| 316 | + | |
312 | 317 | | |
313 | 318 | | |
314 | 319 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
| 230 | + | |
230 | 231 | | |
231 | 232 | | |
232 | 233 | | |
| |||
243 | 244 | | |
244 | 245 | | |
245 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
246 | 261 | | |
247 | 262 | | |
248 | 263 | | |
249 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
250 | 268 | | |
251 | 269 | | |
252 | 270 | | |
| |||
263 | 281 | | |
264 | 282 | | |
265 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
266 | 288 | | |
267 | 289 | | |
268 | 290 | | |
| |||
0 commit comments