[CORE] Better queues defaults

This commit is contained in:
Diogo Cordeiro
2019-12-11 02:20:54 +00:00
committed by Diogo Peralta Cordeiro
parent 351e356bb4
commit 91869c78ac
12 changed files with 68 additions and 61 deletions

View File

@@ -1,14 +0,0 @@
UnQueuePlugin wraps the UnQueueManager class which is a queue manager that does all work immediately.
Installation
============
This plugin is enabled by default and cannot be disabled unless another queue manager is in use.
Disabling is not necessary but recommended in such cases.
Example
=======
In config.php
addPlugin('UnQueue');

10
plugins/UnQueue/README.md Normal file
View File

@@ -0,0 +1,10 @@
UnQueuePlugin wraps the UnQueueManager class which is a queue manager that does all the work immediately.
INSTALL
=======
In config.php
addPlugin('UnQueue');
Be sure to disable other queues plugins.

View File

@@ -37,12 +37,14 @@ class UnQueuePlugin extends Plugin
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'UnQueue',
'version' => self::PLUGIN_VERSION,
'author' => 'Miguel Dantas',
'description' =>
// TRANS: Plugin description.
_m('Plugin using the database as a backend for GNU social queues'));
$versions[] = ['name' => 'UnQueue',
'version' => self::PLUGIN_VERSION,
'author' => 'Miguel Dantas',
'homepage' => GNUSOCIAL_ENGINE_URL,
'description' =>
// TRANS: Plugin description.
_m('Plugin using the database as a backend for GNU social queues')
];
return true;
}
};