mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
Cleanup
This commit is contained in:
parent
a741bd5419
commit
2f5780d1d1
@ -203,18 +203,9 @@ module.exports = eggspress('/batch', {
|
||||
if ( fieldname === 'operation' ) {
|
||||
const op_spec = JSON.parse(value);
|
||||
batch_exe.total++;
|
||||
// if ( operation_requires_file(op_spec) ) {
|
||||
console.log(`WAITING FOR FILE ${op_spec.op}`)
|
||||
pending_operations.push(op_spec);
|
||||
response_promises.push(null);
|
||||
return;
|
||||
// }
|
||||
|
||||
// console.log(`EXEUCING OP ${op_spec.op}`)
|
||||
// response_promises.push(
|
||||
// batch_exe.exec_op(req, op_spec)
|
||||
// );
|
||||
// return;
|
||||
}
|
||||
|
||||
req.body[fieldname] = value;
|
||||
@ -306,9 +297,7 @@ module.exports = eggspress('/batch', {
|
||||
//-------------------------------------------------------------
|
||||
// Awaiting responses
|
||||
//-------------------------------------------------------------
|
||||
console.log('still_reading AWAITING');
|
||||
await still_reading;
|
||||
console.log('still_reading RESOLVED');
|
||||
|
||||
if ( request_error ) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user