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

script to compute number messages in a given period of time #67

Merged
merged 58 commits into from
Mar 4, 2020

Conversation

DanielMwendwa
Copy link
Member

No description provided.

@DanielMwendwa DanielMwendwa requested a review from as2388 February 15, 2020 08:05
Copy link
Member

@as2388 as2388 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for #65 due to the common logic.

@DanielMwendwa DanielMwendwa requested a review from as2388 February 19, 2020 08:33
@DanielMwendwa DanielMwendwa requested a review from as2388 February 21, 2020 12:43
DanielMwendwa and others added 2 commits February 26, 2020 19:09
remove extra space after comma

Co-Authored-By: Alexander Simpson <[email protected]>
renamed variable

Co-Authored-By: Alexander Simpson <[email protected]>
@DanielMwendwa DanielMwendwa requested a review from as2388 February 27, 2020 12:03
Copy link
Member

@as2388 as2388 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Could you request review from Isaack next?

@DanielMwendwa
Copy link
Member Author

Thanks. Could you request review from Isaack next?

Yes

message_difference_per_period = []
for index in range(len(messages_per_period) - 1):
next_index = index + 1
message_difference_per_period.append({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed offline let move this to a different script as the time period for this is a constant firebase period i.e 10 seconds whereas the time period for messages_per_period maybe 1 day/ 1 week etc.. (cc @as2388).

Copy link
Contributor

@IsaackMwenda IsaackMwenda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DanielMwendwa DanielMwendwa merged commit 197dc30 into master Mar 4, 2020
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.

3 participants