mirror of
https://github.com/vale981/ray
synced 2025-03-05 18:11:42 -05:00
Add a small timeline delay (#24673)
This commit is contained in:
parent
2b598ca440
commit
4c6fccafe6
1 changed files with 7 additions and 0 deletions
|
@ -456,6 +456,13 @@ class GlobalState:
|
|||
|
||||
self._check_connected()
|
||||
|
||||
# Add a small delay to account for propagation delay of events to the GCS.
|
||||
# This should be harmless enough but prevents calls to timeline() from
|
||||
# missing recent timeline data.
|
||||
import time
|
||||
|
||||
time.sleep(1)
|
||||
|
||||
profile_table = self.profile_table()
|
||||
all_events = []
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue