Sha256: fe759e5e89ce245bab0da2663bfa421b4b2fb76ca70c024bdf021a7fb64fdc32

Contents?: true

Size: 1.19 KB

Versions: 5

Compression:

Stored size: 1.19 KB

Contents

-record(state, {lsock = undefined,      % the listen socket
                listen = true,          % whether to listen for new connections
                hq = queue:new(),       % high priority queue
                lq = queue:new(),       % low priority queue
                count = 0,              % total request count
                zcount = 0,             % total completed request count
                map = undefined}).      % module map. tuples of {Mod, Id}

-record(request, {sock = undefined,     % connection socket
                  log = undefined,      % log information
                  infos = [],           % list of info binaries
                  action = undefined,   % action binary
                  priority = high}).    % priority [ high | low ]

-record(log, {taccept = erlang:now(),   % time that connection was accepted
              tprocess = erlang:now(),  % time that processing started
              tdone = erlang:now(),     % time that processing and response is done
              hq = 0,                   % size of high queue at acceptance
              lq = 0,                   % size of low queue at acceptance
              type = unk}).             % type [ unk | nat | ext ]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ernie-2.5.2 elib/ernie.hrl
ernie-2.5.1 elib/ernie.hrl
ernie-2.5.0 elib/ernie.hrl
ernie-2.4.0 elib/ernie.hrl
ernie-2.3.0 elib/ernie.hrl