You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2016/12/09 22:24:03 UTC

[1/2] incubator-ponymail git commit: Useless assignment: listdata.participants is overwritten later

Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 3642b6aae -> 151708733


Useless assignment: listdata.participants is overwritten later

Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/905ad9be
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/905ad9be
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/905ad9be

Branch: refs/heads/master
Commit: 905ad9be46c2f2070cb313921b6014d677405ce4
Parents: 3642b6a
Author: Sebb <se...@apache.org>
Authored: Fri Dec 9 22:22:33 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Fri Dec 9 22:22:33 2016 +0000

----------------------------------------------------------------------
 site/api/pminfo.lua | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/905ad9be/site/api/pminfo.lua
----------------------------------------------------------------------
diff --git a/site/api/pminfo.lua b/site/api/pminfo.lua
index 99995fc..4215a54 100644
--- a/site/api/pminfo.lua
+++ b/site/api/pminfo.lua
@@ -210,9 +210,7 @@ function handle(r)
             count = y.doc_count
         })
     end
-    listdata.participants = active_senders
-    
-    
+
     
     -- Debug time point 4
     table.insert(t, r:clock() - tnow)


[2/2] incubator-ponymail git commit: Localise variable creation

Posted by se...@apache.org.
Localise variable creation

Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/15170873
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/15170873
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/15170873

Branch: refs/heads/master
Commit: 1517087335b5cd305889aa346426a3c69bc54b96
Parents: 905ad9b
Author: Sebb <se...@apache.org>
Authored: Fri Dec 9 22:23:53 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Fri Dec 9 22:23:53 2016 +0000

----------------------------------------------------------------------
 site/api/pminfo.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/15170873/site/api/pminfo.lua
----------------------------------------------------------------------
diff --git a/site/api/pminfo.lua b/site/api/pminfo.lua
index 4215a54..408b112 100644
--- a/site/api/pminfo.lua
+++ b/site/api/pminfo.lua
@@ -33,7 +33,6 @@ function handle(r)
     end
     local DD = 14
     local MAXRESULTS = 10000
-    local listdata = {}
 
     
     local NOWISH = math.floor(os.time() / 1800)
@@ -335,6 +334,7 @@ function handle(r)
     tnow = r:clock()
     
     JSON.encode_max_depth(500)
+    local listdata = {}
     listdata.max = MAXRESULTS
     listdata.no_threads = #threads
     listdata.hits = h