KernelDeimos преди 1 година
родител
ревизия
2f5780d1d1
променени са 1 файла, в които са добавени 0 реда и са изтрити 11 реда
  1. 0 11
      packages/backend/src/routers/filesystem_api/batch/all.js

+ 0 - 11
packages/backend/src/routers/filesystem_api/batch/all.js

@@ -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;