juntossomosmais / django-outbox-pattern

A django application to make it easier to use the transactional outbox pattern
MIT License
50 stars 7 forks source link

Add sleep function to fix high CPU usage #22

Closed ricardochaves closed 1 year ago

ricardochaves commented 1 year ago

This Pull Request addresses a high CPU usage issue in the codebase by introducing a sleep function to the code. The fix is based on the following commits:

The updated dependencies ensure that the codebase is up-to-date with the latest changes and improvements. The configuration for using a remote interpreter makes it easier for developers to work on the codebase, even if they are not working on the same machine.

Additionally, the removal of commented-out code improves the overall readability and maintainability of the code.

However, the most significant improvement comes from the addition of the sleep function, which helps to reduce the amount of CPU resources being utilized by the program. This results in improved overall performance, particularly in situations where high CPU usage can cause system slowdowns or other performance issues.

github-advanced-security[bot] commented 1 year ago

You have successfully added a new SonarCloud configuration ``. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication