Skip to content

Remove executed executions from memory#542

Merged
krhubert merged 3 commits intodevfrom
bug/completed-task-in-memory
Oct 22, 2018
Merged

Remove executed executions from memory#542
krhubert merged 3 commits intodevfrom
bug/completed-task-in-memory

Conversation

@antho1404
Copy link
Copy Markdown
Member

This might me really related to #540
Every time we were executing a task, the executions was kept in memory, making the memory going up more and more over time.
This is a small fix to remove the execution when it's done. We should later on put that in a database but that will be another work

Comment thread execution/state.go
@ilgooz ilgooz force-pushed the bug/completed-task-in-memory branch 3 times, most recently from b473dc2 to 8e08077 Compare October 21, 2018 10:39
@ilgooz ilgooz force-pushed the bug/completed-task-in-memory branch from 8e08077 to 5d6fb9b Compare October 21, 2018 10:40
@antho1404
Copy link
Copy Markdown
Member Author

Thanks for the fixes, I'm also working on having a database to store all these executions so all these queues should disappear soon hopefully.
This one is ready to merge, I want to do it quickly to update the server and see if it fixes #540

@ilgooz
Copy link
Copy Markdown
Contributor

ilgooz commented Oct 22, 2018

@krhubert could you review and merge please?

@krhubert krhubert merged commit 9f9b896 into dev Oct 22, 2018
@antho1404 antho1404 deleted the bug/completed-task-in-memory branch October 23, 2018 03:56
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.

4 participants