Ver código fonte

修改cache大小

wugren 3 anos atrás
pai
commit
43b2fcf0dd
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/HID.cc

+ 1 - 1
src/HID.cc

@@ -40,7 +40,7 @@ using namespace std;
 using namespace v8;
 using namespace node;
 
-#define READ_BUFF_MAXSIZE 2048
+#define READ_BUFF_MAXSIZE 1048576
 
 // //////////////////////////////////////////////////////////////////
 // Throwable error class that can be converted to a JavaScript