We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 3eebf2a3 authored by mattl's avatar mattl

Don't store the notice object for distrib queue handler, just id

parent cd269519
......@@ -2403,8 +2403,11 @@ class Notice extends Managed_DataObject
// If there's a failure, we want to _force_
// distribution at this point.
try {
$json = json_encode((object)array('id' => $this->getID(),
'type' => 'Notice',
$qm = QueueManager::get();
$qm->enqueue($this, 'distrib');
$qm->enqueue($json, 'distrib');
} catch (Exception $e) {
// If the exception isn't transient, this
// may throw more exceptions as DQH does
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment