• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LibreSign / libresign / 21017989272

15 Jan 2026 02:53AM UTC coverage: 44.43%. First build
21017989272

Pull #6436

github

web-flow
Merge 6ef45535a into db0316516
Pull Request #6436: feat: async parallel signing

415 of 962 new or added lines in 46 files covered. (43.14%)

7036 of 15836 relevant lines covered (44.43%)

4.94 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

20.0
/lib/Service/SigningCoordinatorService.php
1
<?php
2

3
declare(strict_types=1);
4
/**
5
 * SPDX-FileCopyrightText: 2026 LibreCode coop and contributors
6
 * SPDX-License-Identifier: AGPL-3.0-or-later
7
 */
8

9
namespace OCA\Libresign\Service;
10

11
use OCA\Libresign\AppInfo\Application;
12
use OCP\IAppConfig;
13

14
class SigningCoordinatorService {
15
        public function __construct(
16
                private IAppConfig $appConfig,
17
        ) {
18
        }
47✔
19

20
        public function shouldUseParallelProcessing(int $signRequestCount): bool {
NEW
21
                if ($signRequestCount <= 1) {
×
NEW
22
                        return false;
×
23
                }
24

NEW
25
                $signingMode = $this->appConfig->getValueString(Application::APP_ID, 'signing_mode', 'async');
×
NEW
26
                return $signingMode === 'async';
×
27
        }
28
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc