Skip to content

Commit

Permalink
change WAITING to READY (#3528)
Browse files Browse the repository at this point in the history
  • Loading branch information
colinthomas-z80 authored Oct 3, 2023
1 parent 2f558c8 commit 7063789
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions taskvine/src/tools/vine_plot_txn_log
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ class ParseTxn:
if not self.check_task_range(task_id):
return

if event == "WAITING":
if event == "READY":
(category, allocation, attempt_number, arg) = arg.split()
self.cm.task_last_attempt[task_id] = attempt_number

Expand All @@ -347,7 +347,7 @@ class ParseTxn:
ca["last_state"] = event
ca["last_state_time"] = time

if event == "WAITING":
if event == "READY":
ca["task_id"] = task_id
ca["attempt_number"] = attempt_number
ca["category"] = category
Expand Down Expand Up @@ -444,7 +444,7 @@ class TxnPlot:
if spec == "dispatched-first-task":
origin = m.tasks["time_commit_start"].min()
elif spec == "waiting-first-task":
origin = m.tasks["WAITING"].min()
origin = m.tasks["READY"].min()
elif spec == "connected-first-worker":
origin = m.workers["CONNECTION"].min()
elif spec == "start-manager":
Expand Down

0 comments on commit 7063789

Please sign in to comment.