1
0

Added fetchLimit overrides to EGG
All checks were successful
Build Docker and Deploy / Build Docker (push) Successful in 18s
Build Docker and Deploy / Deploy to Server (push) Successful in 17s

This commit is contained in:
2025-12-15 12:14:42 +01:00
parent e818013438
commit fcc10e1d70
8 changed files with 69 additions and 23 deletions

View File

@@ -21,10 +21,18 @@ try {
$config['output_file'] = false;
$config['output_stdout'] = true;
echo "ENV:\n" . print_r($_ENV, true) . "\n";
require_once __DIR__ .'/../internals/modules/mikeschergitgraph.php';
$egg = new MikescherGitGraph($config);
if (getenv('EGG_FETCHLIMITCOMMITS')) {
$v = intval(getenv('EGG_FETCHLIMITCOMMITS'));
$egg->setFetchLimitCommits($v);
echo "[*] EGG_FETCHLIMITCOMMITS override detected: $v\n";}
echo "\n";
echo "================================ Start Update ================================\n";
echo "\n";