Skip to content

2022-09-06 RELEASE-PRD (1)#8

Merged
RHDZMOTA merged 9 commits intoPRDfrom
DEV
Sep 6, 2022
Merged

2022-09-06 RELEASE-PRD (1)#8
RHDZMOTA merged 9 commits intoPRDfrom
DEV

Conversation

@RHDZMOTA
Copy link
Copy Markdown
Collaborator

@RHDZMOTA RHDZMOTA commented Sep 6, 2022

RHDZMOTA V2.0.0

This release contains two relevant changes:

  1. Refactor of the rhdzmota.utils.heartbeat module into rhdzmota.heartbeat.daemon_heart.
  2. Implemented a new companion class "Daemon(fromrhdzmota.heartbeat.daemon`) to send the heart beat logs to an external service (i.e., Celery).

Minimal code example:

Start a redis service in the backend:

$ docker run -p 6379:6379 --name redis-service -d redis:6.2.5 redis-server --appendonly yes

Install the extras dependencies:

$ pip install -r requirements-extras.txt

Execute the worker application:

  • bash worker-hello.sh

And execute the hello command:

$ rhdzmota hello --world example --sleep 3 --delegate

@RHDZMOTA RHDZMOTA self-assigned this Sep 6, 2022
@RHDZMOTA RHDZMOTA merged commit 8a2ff23 into PRD Sep 6, 2022
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.

1 participant