fix SummaryRecord flush

This commit is contained in:
lanmeng 2022-04-01 15:32:15 +00:00 committed by Gitee
parent a49b9877a9
commit e0764c050b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@
.. py:method:: flush()
刷新缓冲区,将缓冲区中的数据立刻写入文件
刷新缓冲区,将缓冲区中的数据写入磁盘
调用该函数以确保所有挂起事件都已写入到磁盘。

View File

@ -429,7 +429,7 @@ class SummaryRecord:
def flush(self):
"""
Flush the buffer and write files to disk.
Flush the buffer and write buffer data to disk.
Call it to make sure that all pending events have been written to disk.