formatting
This commit is contained in:
parent
6e6ad31600
commit
e1358fe566
4 changed files with 79 additions and 75 deletions
|
|
@ -226,9 +226,11 @@ export class Topo {
|
|||
// define sharded ranges
|
||||
if (minions.running > 1) {
|
||||
|
||||
dispatch.putCache({ key: widget.id, data: vertices }, { done: data => {
|
||||
dispatch.putCache({ key: widget.id, data: vertices }, {
|
||||
done: data => {
|
||||
// console.log({ put_cache_done: data });
|
||||
}});
|
||||
}
|
||||
});
|
||||
|
||||
let promises = slices.map(slice => {
|
||||
return new Promise(resolve => {
|
||||
|
|
@ -256,9 +258,11 @@ export class Topo {
|
|||
return box2;
|
||||
});
|
||||
|
||||
dispatch.clearCache({}, { done: data => {
|
||||
dispatch.clearCache({}, {
|
||||
done: data => {
|
||||
// console.log({ clear_cache_done: data });
|
||||
}});
|
||||
}
|
||||
});
|
||||
|
||||
} else {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue