-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firebreak/data hub test data contacts #5348
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some food for thought. View full project report here.
redis = Redis.from_url(settings.REDIS_BASE_URL) | ||
workers = Worker.all(connection=redis) | ||
queue_names = reduce(concat, [worker.queue_names() for worker in workers], []) | ||
missing_queues = set([queue]) - set(queue_names) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing_queues = set([queue]) - set(queue_names) | |
missing_queues = {queue} - set(queue_names) |
Using set literal syntax is simpler and computationally quicker. More info.
* Create Command for rq health check and include in docker-compose.yml configuration.
* Change logging to ASIM formatter * Update common_logging.py
5faaa7d
to
8794031
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some things to consider. View full project report here.
redis = Redis.from_url(settings.REDIS_BASE_URL) | ||
workers = Worker.all(connection=redis) | ||
queue_names = reduce(concat, [worker.queue_names() for worker in workers], []) | ||
missing_queues = set([queue]) - set(queue_names) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing_queues = set([queue]) - set(queue_names) | |
missing_queues = {queue} - set(queue_names) |
Using set literal syntax is simpler and computationally quicker. More info.
8794031
to
c3fff3d
Compare
create a batch of contact records based on advisers
c3fff3d
to
1c3c20a
Compare
Add generator for contacts
Checklist
Has this branch been rebased on top of the current
main
branch?Explanation
The branch should not be stale or have conflicts at the time reviews are requested.
Is the CircleCI build passing?
General points
Other things to check
fixtures/test_data.yaml
is maintained when updating modelsSee docs/CONTRIBUTING.md for more guidelines.