fix: update blockchain monitoring configuration and convert services to use venv python
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Successful in 34m15s
Documentation Validation / validate-docs (push) Has been cancelled
Systemd Sync / sync-systemd (push) Failing after 18s

Blockchain Monitoring Configuration:
 CONFIGURABLE INTERVAL: Added blockchain_monitoring_interval_seconds setting
- apps/blockchain-node/src/aitbc_chain/config.py: New setting with 10s default
- apps/blockchain-node/src/aitbc_chain/chain_sync.py: Import settings with fallback
- chain_sync.py: Replace hardcoded base_delay=2 with config setting
- Reason: Makes monitoring interval configurable instead of hardcoded

 DUMMY ENDPOINTS: Disabled monitoring
This commit is contained in:
aitbc
2026-03-31 13:31:37 +02:00
parent f5b3c8c1bd
commit ef43a1eecd
11 changed files with 281 additions and 69 deletions

View File

@@ -4,11 +4,11 @@ After=network.target aitbc-agent-registry.service
[Service]
Type=simple
User=aitbc
Group=aitbc
User=root
Group=root
WorkingDirectory=/opt/aitbc/apps/agent-services/agent-coordinator/src
Environment=PYTHONPATH=/opt/aitbc
ExecStart=/usr/bin/python3 coordinator.py
ExecStart=/opt/aitbc/venv/bin/python coordinator.py
Restart=always
RestartSec=10