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

Persist the 1st report of worker #127

Merged
merged 1 commit into from
Dec 9, 2016
Merged

Conversation

ecebuzz
Copy link
Contributor

@ecebuzz ecebuzz commented Aug 11, 2016

I would like to see that the 1st report is persisted in the mongodb just like the last report in work_stop()

I would like to see that the 1st report is persisted in the mongodb just like the last report in work_stop()
@sylvinus
Copy link
Contributor

Hi @ecebuzz !

Interesting idea, can you explain why you'd want to see it?

@ecebuzz
Copy link
Contributor Author

ecebuzz commented Aug 11, 2016

I found that during the runtime of short jobs whose execution time is less than the report interval, mongodb queries for those jobs will not show any results until the very end when those short jobs finish and stop. Perhaps it is not the recommended way to query runtime information of the jobs. Perhaps I should change to query redis instead of mongodb.

@ecebuzz
Copy link
Contributor Author

ecebuzz commented Aug 11, 2016

It seems the change does not quite help. Does mrq dashboard query redis for the job and worker status?

@sylvinus sylvinus merged commit 1e84646 into pricingassistant:master Dec 9, 2016
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.

2 participants