[Groonga-commit] groonga/groonga [master] admin: render throughput chart at the start

Back to archive index

null+****@clear***** null+****@clear*****
2012年 4月 9日 (月) 12:55:33 JST


Kouhei Sutou	2012-04-09 12:55:33 +0900 (Mon, 09 Apr 2012)

  New Revision: 4a65af8469e986e5fb6a748d3970d7cd51f59abc

  Log:
    admin: render throughput chart at the start

  Modified files:
    data/html/admin/js/groonga-admin.js

  Modified: data/html/admin/js/groonga-admin.js (+1 -1)
===================================================================
--- data/html/admin/js/groonga-admin.js    2012-04-09 11:58:49 +0900 (c4fd689)
+++ data/html/admin/js/groonga-admin.js    2012-04-09 12:55:33 +0900 (de10c2b)
@@ -547,7 +547,7 @@ jQuery.extend(GroongaAdmin.prototype, {
   throughputChart: null,
   updateThroughputChart: function(statusData) {
     var maxThroughputUpdated = false;
-    if (this.lastNQueries > 0) {
+    if (this.lastNQueries >= 0) {
       var throughput = statusData.n_queries - this.lastNQueries;
       this.throughputData.push(throughput);
       if (this.maxThroughput < throughput) {




Groonga-commit メーリングリストの案内
Back to archive index