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

Commit

Permalink
Merge pull request #4983 from golemfactory/maaktweluit-patch-1
Browse files Browse the repository at this point in the history
update task api docs - input times to seconds
  • Loading branch information
maaktweluit authored Dec 10, 2019
2 parents 900a4b3 + f1a6060 commit 6737abd
Showing 1 changed file with 6 additions and 6 deletions.
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

0 comments on commit 6737abd

Please # to comment.