Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#2088 closed defect (bug) (fixed)

Pings multiplying

Reported by: skeltoac's profile skeltoac Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.0
Component: Optimization Keywords: ping
Focuses: Cc:

Description

If execute-pings.php is called a second time before the first is finished, pings will be repeated needlessly. This can slow a server down very quickly!

This patch fixes execute-pings.php so that it removes each job from the queue before working on it. Concurrent instances will play leap-frog rather than all piling onto a single lily pad, so to speak.

Attachments (1)

pingonce.diff (2.5 KB) - added by skeltoac 19 years ago.

Download all attachments as: .zip

Change History (4)

@skeltoac
19 years ago

#1 @skeltoac
19 years ago

These changes are incorporated into #2092, so if you're going to commit #2092 you probably don't want to commit this one.

#2 @ryan
19 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3322]) Fix ping races. fixes #2088

#3 @(none)
18 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.