@xuda.io/drive_module 1.1.935 → 1.1.937

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1796,7 +1796,7 @@ const ocr_drive_file = async function (app_id, doc) {
1796
1796
  doc.ocr = ocr.replace(/<\/?[^>]+(>|$)/g, "").replace(/[\n\t]/g, "");
1797
1797
  doc.ocr_stat = 3;
1798
1798
  } catch (err) {
1799
- doc.ocr_stat = 4;
1799
+ // doc.ocr_stat = 4;
1800
1800
  } finally {
1801
1801
  doc.ocr_stat_ts = Date.now();
1802
1802
 
@@ -1938,7 +1938,7 @@ exports.run_drive_pending_ocr = async function (req) {
1938
1938
  try {
1939
1939
  var opt = {
1940
1940
  selector: { docType: "user_drive", ocr_stat: 1, stat: 3 },
1941
- // limit: 1,
1941
+ limit: 1,
1942
1942
  };
1943
1943
 
1944
1944
  const user_drive_res = await db_module.find_couch_query("xuda_drive", opt);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.935",
3
+ "version": "1.1.937",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {