diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-09-05 11:58:34 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-09-05 11:58:34 +0200 |
| commit | 15eb6806b6e216255f33abcb885f6cdbc38a7663 (patch) | |
| tree | 9629d267611a48f9492f53c7ec74cf68c930deb4 /app/client/modules/pix2pixhd/pix2pixhd.tasks.js | |
| parent | 7910767b7283e62f03dec5f86e08a796c792080f (diff) | |
relay stuff
Diffstat (limited to 'app/client/modules/pix2pixhd/pix2pixhd.tasks.js')
| -rw-r--r-- | app/client/modules/pix2pixhd/pix2pixhd.tasks.js | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/app/client/modules/pix2pixhd/pix2pixhd.tasks.js b/app/client/modules/pix2pixhd/pix2pixhd.tasks.js index 92c0ff4..bd51f2b 100644 --- a/app/client/modules/pix2pixhd/pix2pixhd.tasks.js +++ b/app/client/modules/pix2pixhd/pix2pixhd.tasks.js @@ -53,34 +53,28 @@ export const live_task = (sequence, checkpoint, opt) => dispatch => { return actions.queue.add_task(task) } -export const augment_task = (opt) => dispatch => { +export const augment_task = (dataset, opt) => dispatch => { const task = { module: module.name, activity: 'augment', - dataset: sequence, - checkpoint, + dataset, opt: { ...opt, - poll_delay: 0.01, } } console.log(task) - console.log('add live task') + console.log('add augment task') return actions.queue.add_task(task) } -export const clear_recursive_task = (opt) => dispatch => { +export const clear_recursive_task = (dataset) => dispatch => { const task = { module: module.name, activity: 'clear_recursive', - dataset: sequence, - checkpoint, - opt: { - ...opt, - } + dataset, } console.log(task) - console.log('add live task') + console.log('add clear recursive task') return actions.queue.add_task(task) } |
