Skip to content
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

Cron job for entities with status pending #28

Open
maestre3d opened this issue Jun 19, 2020 · 0 comments
Open

Cron job for entities with status pending #28

maestre3d opened this issue Jun 19, 2020 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@maestre3d
Copy link
Owner

maestre3d commented Jun 19, 2020

Is your feature request related to a problem? Please describe.
Whenever a new entity is created, in most of the cases it will start a transaction.
The problem here is sometimes there will be leftovers if some problem occurred.

Describe the solution you'd like
It would be better if we implemented a cron job inside every service in a goroutine/thread that will run every X time (from min to days), where we could remove (hard-remove) every entity with the "STATUS_PENDING" state.

Describe alternatives you've considered
Any.

Additional context
No

@maestre3d maestre3d added bug Something isn't working enhancement New feature or request labels Jun 19, 2020
@maestre3d maestre3d self-assigned this Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant