浏览代码

async: Default i/o buffer size is unlimited

Serj Kalichev 1 年之前
父节点
当前提交
df1d569287
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      faux/async.h

+ 4 - 4
faux/async.h

@@ -11,10 +11,10 @@
 
 #define FAUX_ASYNC_UNLIMITED 0
 
-// Default overflow limit for out buffer ~ 10M
-#define FAUX_ASYNC_OUT_OVERFLOW 10000000l
-// Default overflow limit for in buffer ~ 10M
-#define FAUX_ASYNC_IN_OVERFLOW 10000000l
+// Default overflow limit for out buffer
+#define FAUX_ASYNC_OUT_OVERFLOW FAUX_BUF_UNLIMITED
+// Default overflow limit for in buffer
+#define FAUX_ASYNC_IN_OVERFLOW FAUX_BUF_UNLIMITED
 
 
 typedef struct faux_async_s faux_async_t;