Sfoglia il codice sorgente

async: Default i/o buffer size is unlimited

Serj Kalichev 1 anno fa
parent
commit
df1d569287
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  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;