Browse Source

Add type for queue_max in pooler.hrl

Seth Falcon 9 years ago
parent
commit
22dba447f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pooler.hrl

+ 1 - 1
src/pooler.hrl

@@ -99,7 +99,7 @@
           %% A queue of requestors for blocking take member requests
           queued_requestors = queue:new() :: p_requestor_queue(),
           %% The max depth of the queue
-          queue_max = 50
+          queue_max = 50 :: non_neg_integer()
          }).
 
 -define(gv(X, Y), proplists:get_value(X, Y)).