1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-22 06:57:53 +00:00
Files
matomo/plugins/CoreConsole/FeatureFlags/SystemSignals.php
Stefan Giehl eff138b4c3 Implements system signal handling for archiving interruption / termination (#22487)
* Allow signal handling in console commands

* Stop archiving after receiving SIGINT/SIGTERM

* Add tests for basic core:archive signal handling

* Abort symfony archiving requests for SIGTERM

* Add tests for non-symfony core:archive climulti methods

* Add tests for core:archive sigint fallback if sigterm is not fully supported

* Add tests for signal handling during core:archive init

* Add tests for signal handling during core:archive scheduled tasks

* Stop scheduled tasks after receiving SIGINT/SIGTERM

* Add tests for signal handling during scheduled-tasks:run

* Wrap signal handling support behind feature flag

* Update CHANGELOG.md

---------

Co-authored-by: Marc Neudert <marc@innocraft.com>
2025-02-26 16:08:20 +01:00

23 خطوط
431 B
PHP

<?php
/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
declare(strict_types=1);
namespace Piwik\Plugins\CoreConsole\FeatureFlags;
use Piwik\Plugins\FeatureFlags\FeatureFlagInterface;
class SystemSignals implements FeatureFlagInterface
{
public function getName(): string
{
return 'SystemSignals';
}
}