From e8b0f3d3cb40a00ef69362641a4f77a0f08d5a74 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 21 Apr 2008 16:16:55 -0700 Subject: [PATCH] mutable status: use google-chart-API to draw server response times for servermap update --- src/allmydata/mutable/servermap.py | 2 +- src/allmydata/web/map-update-status.xhtml | 4 +- src/allmydata/web/status.py | 70 ++++++++++++++++++++++- 3 files changed, 71 insertions(+), 5 deletions(-) diff --git a/src/allmydata/mutable/servermap.py b/src/allmydata/mutable/servermap.py index 25aa29f4..79a25dd8 100644 --- a/src/allmydata/mutable/servermap.py +++ b/src/allmydata/mutable/servermap.py @@ -425,7 +425,7 @@ class ServermapUpdater: # enough responses) self._send_initial_requests(initial_peers_to_query) - self._status.timings["setup"] = time.time() - self._started + self._status.timings["initial_queries"] = time.time() - self._started return self._done_deferred def _build_initial_querylist(self): diff --git a/src/allmydata/web/map-update-status.xhtml b/src/allmydata/web/map-update-status.xhtml index 69e39117..9a354487 100644 --- a/src/allmydata/web/map-update-status.xhtml +++ b/src/allmydata/web/map-update-status.xhtml @@ -22,11 +22,11 @@

Update Results