Changeset 9c34eea8305e4339d255aaaef352640ccc879da8

Show
Ignore:
Timestamp:
05/22/12 18:25:12 (3 years ago)
Author:
Theo Schlossnagle <jesus@lethargy.org>
git-committer:
Theo Schlossnagle <jesus@lethargy.org> 1337711112 -0700
git-parent:

[c385b68fdd537ec15c1467e6c8541b32d3838bf6], [988968482de9e0750b6f91d3f95beeed888b1f27]

git-author:
Theo Schlossnagle <jesus@lethargy.org> 1337711112 -0700
Message:

Merge pull request #77 from Kami/dont_include_ttfirstbye_metric_if_firstbytetime_is_nil

Dont include ttfirstbye metric if firstbytetime is nil

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules-lua/noit/module/http.lua

    r968ebe7 r9889684  
    411411    status = status .. ',rt=' .. seconds .. 's' 
    412412    elapsed(check, "tt_connect", starttime, connecttime) 
    413     elapsed(check, "tt_firstbyte", starttime, firstbytetime) 
     413 
     414    if firstbytetime ~= nil then 
     415      elapsed(check, "tt_firstbyte", starttime, firstbytetime) 
     416    end 
    414417 
    415418    -- size