Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

update task api docs - input times to seconds #4983

Merged
merged 1 commit into from
Dec 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions scripts/task_api_tests/task-api-readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Here is an example of a new task-api JSON file.
"resources": ["/absolute/path/to/resources/file.blend"],
"max_price_per_hour": "1_000_000_000_000_000_000",
"max_subtasks": 1,
"task_timeout": 600000,
"subtask_timeout": 590000,
"task_timeout": 600,
"subtask_timeout": 590,
"output_directory": "/absolute/path/to/output/"
},
"app": {
Expand All @@ -45,8 +45,8 @@ The golem block of the JSON is meant for the input Golem needs, these are the sa
"resources": ["/absolute/path/to/resources/file.blend"],
"max_price_per_hour": "1_000_000_000_000_000_000",
"max_subtasks": 1,
"task_timeout": 600000,
"subtask_timeout": 590000,
"task_timeout": 600,
"subtask_timeout": 590,
"output_directory": "/absolute/path/to/output/"
},
...
Expand Down Expand Up @@ -77,11 +77,11 @@ Amount of subtasks to split the task into.

#### golem.task_timeout

Task timeout in milliseconds, so 1000 is one second, 600000 is 10 minutes.
Task timeout in seconds, 600 is 10 minutes.

#### golem.subtask_timeout

Subtask timeout in milliseconds, so 1000 is one second, 600000 is 10 minutes.
Subtask timeout in seconds, 600 is 10 minutes.

### app

Expand Down