Skip to content

[fix] Added error handling for redis errors in load_init_data.py#474

Merged
nemesifier merged 1 commit into
masterfrom
load-init-redis-error
Jun 11, 2025
Merged

[fix] Added error handling for redis errors in load_init_data.py#474
nemesifier merged 1 commit into
masterfrom
load-init-redis-error

Conversation

@pandafy

@pandafy pandafy commented Jun 11, 2025

Copy link
Copy Markdown
Member

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • I have updated the documentation.

Comment on lines +166 to +171
if env_bool(os.environ.get("REDIS_USE_TLS", "False")):
import ssl

CELERY_BROKER_USE_SSL = {
"ssl_cert_reqs": ssl.CERT_REQUIRED,
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This prevents warnings from kombu

@pandafy
pandafy force-pushed the load-init-redis-error branch from 32e555e to 24dc910 Compare June 11, 2025 10:57
@github-project-automation github-project-automation Bot moved this from To do (general) to In progress in OpenWISP Contributor's Board Jun 11, 2025
@nemesifier
nemesifier merged commit c931b6f into master Jun 11, 2025
4 checks passed
@nemesifier
nemesifier deleted the load-init-redis-error branch June 11, 2025 16:43
@github-project-automation github-project-automation Bot moved this from In progress to Done in OpenWISP Contributor's Board Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants