Commit 34c0916
authored
fix: remove dual retry path in check_pending_site_created (#797)
When a stale is_publishing flag is detected and reset, the code was
both enqueuing wu_async_publish_pending_site via Action Scheduler AND
returning publish_status=stopped to the frontend. This created two
competing retry sources that could trigger double site creation.
Remove the wu_enqueue_async_action call. The frontend polling loop
retries on 'stopped' status, and the existing AS scheduled action
will pick up the reset flag on its next run — a single retry path
is sufficient.
Fixes #7931 parent 3d73e0f commit 34c0916
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
223 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
224 | 228 | | |
225 | | - | |
226 | | - | |
227 | 229 | | |
228 | 230 | | |
229 | 231 | | |
| |||
0 commit comments