-
Notifications
You must be signed in to change notification settings - Fork 29
feat: retain date when checking message tables #727
Conversation
Current coverage is 100% (diff: 100%)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also fix update_rotating_tables to make the call in a thread (to fully close out #727)
@@ -129,10 +129,10 @@ def make_rotating_tablename(prefix, delta=0, date=None): | |||
|
|||
|
|||
def create_rotating_message_table(prefix="message", read_throughput=5, | |||
write_throughput=5, delta=0): | |||
write_throughput=5, delta=0, date=None): | |||
# type: (str, int, int, int) -> Table |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
forgot to update the signature
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you can make create_rotating_message_table's arguments more consistent with get_rotating_message_table's while you're here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, updated to defer the call to a thread.
4c1a377
to
800ded5
Compare
Ensures the date argument is passed along with the table name when creating the rotating message table during the get_rotating_message_table call. Closes #722
800ded5
to
c7aae0c
Compare
Ensures the date argument is passed along with the table name
when creating the rotating message table during the
get_rotating_message_table call.
Closes #722