Skip to content

feat: make operational values configurable via environment variables - #324

Merged
abayomicornelius merged 1 commit into
Heliobond:mainfrom
KingFRANKHOOD:chore/env-configurable-operational-values
Jul 29, 2026
Merged

feat: make operational values configurable via environment variables#324
abayomicornelius merged 1 commit into
Heliobond:mainfrom
KingFRANKHOOD:chore/env-configurable-operational-values

Conversation

@KingFRANKHOOD

Copy link
Copy Markdown
Contributor

feat: make operational values configurable via environment variables

Closes #203
Closes #204
Closes #205
Closes #202

What changed

  • Add POLL_INTERVAL_MS (default: 1500) for Stellar tx polling interval
  • Add POLL_MAX_ATTEMPTS (default: 20) for max poll attempts
  • Add TX_TIMEOUT_SECONDS (default: 30) for Soroban transaction timeout
  • Add MAX_POWER_KW (default: 1000) for IoT solar simulation
  • Document all variables in README and .env.example
  • PORT was already configurable via config.ts

Resolves: hardcoded values in stellar.ts, registry.ts, iot.ts

Description

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Testing checklist

  • Tests pass locally
  • Added new tests (if applicable)
  • Code follows project conventions

- Add POLL_INTERVAL_MS (default: 1500) for Stellar tx polling interval
- Add POLL_MAX_ATTEMPTS (default: 20) for max poll attempts
- Add TX_TIMEOUT_SECONDS (default: 30) for Soroban transaction timeout
- Add MAX_POWER_KW (default: 1000) for IoT solar simulation
- Document all variables in README and .env.example
- PORT was already configurable via config.ts

Resolves: hardcoded values in stellar.ts, registry.ts, iot.ts
@drips-wave

drips-wave Bot commented Jul 29, 2026

Copy link
Copy Markdown

@KingFRANKHOOD Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@abayomicornelius
abayomicornelius merged commit 8de5d69 into Heliobond:main Jul 29, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants