Skip to content

Add polling configuration options for ChannelFinder updates#145

Merged
jacomago merged 2 commits intoChannelFinder:masterfrom
jacomago:poll_max
May 4, 2026
Merged

Add polling configuration options for ChannelFinder updates#145
jacomago merged 2 commits intoChannelFinder:masterfrom
jacomago:poll_max

Conversation

@jacomago
Copy link
Copy Markdown
Contributor

@jacomago jacomago commented May 4, 2026

  • Introduced pollingRetryCount and pollingInfiniteRetries settings in demo and full configuration files.
  • Updated CFConfig class to handle new polling parameters.
  • Enhanced polling logic to respect retry count and infinite retry options.

@anderslindho
Copy link
Copy Markdown
Contributor

anderslindho commented May 4, 2026

I exposed this as configurable in #146 @jacomago

Nvm dropped it

Comment thread server/recceiver/cfstore.py Outdated
Comment thread server/recceiver/cfstore.py
- Introduced `pushMaxRetries` and `pushAlwaysRetry` settings in demo and full configuration files.
- Updated CFConfig class to handle new push parameters.
- Enhanced push logic to respect retry count and infinite retry options.

Co-authored-by: Copilot <copilot@github.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 4, 2026

sleep *= 1.5
_log.info("Polling %s complete", ioc_info)
return success
_log.error("Pushing updates for %s complete, failed after %d attempts", ioc_info, count)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This message is a bit odd "complete" but "failed after" seem at odds with each other.

@jacomago jacomago merged commit 27b5812 into ChannelFinder:master May 4, 2026
12 of 13 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

Development

Successfully merging this pull request may close these issues.

3 participants