Ticket #2088 (closed defect (bug): fixed)

Opened 3 years ago

Last modified 2 years ago

Pings multiplying

Reported by: skeltoac Assigned to: anonymous
Priority: normal Milestone:
Component: Optimization Version: 2.0
Severity: normal Keywords: ping
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

pingonce.diff (2.5 kB) - added by skeltoac on 12/17/05 13:22:05.

Change History

12/17/05 13:22:05 changed by skeltoac

  • attachment pingonce.diff added.

12/18/05 13:22:24 changed by skeltoac

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

12/18/05 15:49:44 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

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

11/30/06 19:41:47 changed by

  • milestone deleted.

Milestone 2.0 deleted