@@ -89,7 +89,7 @@ toSVar sv m = toStreamVar sv (toStream m)
8989-- when using concurrent streams. This is not the grand total number of threads
9090-- but maximum threads at each point of concurrency.
9191-- A value of 0 resets the thread limit to default, a negative value means
92−-- there is no limit.
92+-- there is no limit. The default value is 1500.
9393--
9494-- @since 0.4.0
9595maxThreads :: IsStream t => Int -> t m a -> t m a
@@ -101,7 +101,7 @@ maxThreads n m = fromStream $ Stream $ \st stp sng yld -> do
101101-- concurrent computations. If the buffer becomes full we stop spawning more
102102-- concurrent tasks until there is space in the buffer.
103103-- A value of 0 resets the buffer size to default, a negative value means
104−-- there is no limit.
104+-- there is no limit. The default value is 1500.
105105--
106106-- @since 0.4.0
107107maxBuffer :: IsStream t => Int -> t m a -> t m a