Sha256: 9830f72b6a4f0ddd041ac135803c8cc22b211ab91ed2b1cbaf510e716b348f3a

Contents?: true

Size: 1.05 KB

Versions: 6

Compression:

Stored size: 1.05 KB

Contents

-record(state, {lsock = undefined,      % the listen socket
                hq = queue:new(),       % high priority queue
                lq = queue:new(),       % low priority queue
                count = 0,              % total 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

6 entries across 6 versions & 2 rubygems

Version Path
ernie-2.2.1 elib/ernie.hrl
schleyfox-ernie-2.2.3 elib/ernie.hrl
schleyfox-ernie-2.2.2 elib/ernie.hrl
schleyfox-ernie-2.2.1 elib/ernie.hrl
ernie-2.2.0 elib/ernie.hrl
ernie-2.1.0 elib/ernie.hrl