Skip to content

Commit e75673c

Browse files
authored
vine py: set_time_max usecs to secs in doc (#4257)
1 parent 201c4b7 commit e75673c

File tree

1 file changed

+2
-2
lines changed
  • taskvine/src/bindings/python3/ndcctools/taskvine

1 file changed

+2
-2
lines changed

taskvine/src/bindings/python3/ndcctools/taskvine/task.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,8 @@ def set_time_start(self, useconds):
543543
# Indicate the maximum running time (in seconds) for a task in a
544544
# worker (relative to when the task starts to run). If less than 1, or not
545545
# specified, no limit is imposed.
546-
def set_time_max(self, useconds):
547-
return cvine.vine_task_set_time_max(self._task, int(useconds))
546+
def set_time_max(self, seconds):
547+
return cvine.vine_task_set_time_max(self._task, int(seconds))
548548

549549
# Indicate the minimum running time (in seconds) for a task in a worker
550550
# (relative to when the task starts to run). If less than 1, or not

0 commit comments

Comments
 (0)