Move profile data flushing to background thread on workers. (#2415)

* Move profile data flushing to background thread on workers.

* Remove outdated comment.
This commit is contained in:
Robert Nishihara
2018-07-18 12:34:53 -07:00
committed by Philipp Moritz
parent 4c82ac72df
commit 991d0911d1
2 changed files with 8 additions and 5 deletions
-2
View File
@@ -108,8 +108,6 @@ class Profiler(object):
# This is to suppress errors that occur at shutdown.
pass
# TODO(rkn): Support calling this function in the middle of a task, and
# also call this periodically in the background from the driver.
def flush_profile_data(self):
"""Push the logged profiling data to the global control store.