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

Improvement: store start time as timestamp #11

Open
xuanluolena opened this issue Feb 14, 2019 · 0 comments
Open

Improvement: store start time as timestamp #11

xuanluolena opened this issue Feb 14, 2019 · 0 comments

Comments

@xuanluolena
Copy link
Contributor

in collection processed, stored start time as timestamp
in get_waiting_time, when getting the start time, use sort feature of mango db and get the first result of the query, instead iterate items one by one and compare the timestamps

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

No branches or pull requests

1 participant