[dovecot/core] f0452e: lib-http: Track request's first and last send atte...
    GitHub 
    noreply at github.com
       
    Mon Apr 10 13:30:10 EEST 2017
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: f0452e0b310ddc74d84c2492f72fea41ffcb96a8
      https://github.com/dovecot/core/commit/f0452e0b310ddc74d84c2492f72fea41ffcb96a8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)
  Changed paths:
    M src/lib-http/http-client-private.h
    M src/lib-http/http-client-request.c
  Log Message:
  -----------
  lib-http: Track request's first and last send attempt times separately.
  Commit: bf7740f6bcea93a45e68113f1334c2be7f3cea4d
      https://github.com/dovecot/core/commit/bf7740f6bcea93a45e68113f1334c2be7f3cea4d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)
  Changed paths:
    M src/lib-http/http-client-request.c
    M src/lib-http/http-client.h
  Log Message:
  -----------
  lib-http: Add http_client_request_stats.first_sent_msecs
Also rename sent_msecs to last_sent_msecs.
  Commit: f27497406f8819ac97bc16cd9b16d20630899187
      https://github.com/dovecot/core/commit/f27497406f8819ac97bc16cd9b16d20630899187
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)
  Changed paths:
    M src/lib-http/http-client-request.c
  Log Message:
  -----------
  lib-http: Improve request stats text.
It's important to know how long the request was in queue before it was sent.
Also the "n attempts in m secs" makes more sense if it was counting only the
time after the initial request was sent, not including the queuing time.
If there is more than 1 attempt, log separately how long all the attempts
were waited on vs. how long the last attempt took.
Compare: https://github.com/dovecot/core/compare/a89fc6c5055c...f27497406f88
    
    
More information about the dovecot-cvs
mailing list