Change in python/osmo-python-tests[master]: ctrl2cgi: log request time

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

daniel gerrit-no-reply at lists.osmocom.org
Thu Dec 6 09:54:31 UTC 2018


daniel has posted comments on this change. ( https://gerrit.osmocom.org/12147 )

Change subject: ctrl2cgi: log request time
......................................................................


Patch Set 1: Code-Review-1

(1 comment)

https://gerrit.osmocom.org/#/c/12147/1/scripts/ctrl2cgi.py
File scripts/ctrl2cgi.py:

https://gerrit.osmocom.org/#/c/12147/1/scripts/ctrl2cgi.py@64
PS1, Line 64: def make_async_req(ts, dst, par, f_write, f_log):
I think we want to know:
1. How long between preparing request and sending it
2. How long between sending a request and receiving an answer

So maybe add a log statement here with the difference between ts and datetime.now and pass a new datetime.now into the callback?



-- 
To view, visit https://gerrit.osmocom.org/12147
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I11c8ac67a2730a9c6912694e5b83bbdf08fe357d
Gerrit-Change-Number: 12147
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Comment-Date: Thu, 06 Dec 2018 09:54:31 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181206/d11e562e/attachment.htm>


More information about the gerrit-log mailing list