gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [ascension] branch master updated: added rrsetcount as a me


From: gnunet
Subject: [GNUnet-SVN] [ascension] branch master updated: added rrsetcount as a metric
Date: Sun, 02 Jun 2019 22:37:30 +0200

This is an automated email from the git hooks/post-receive script.

rexxnor pushed a commit to branch master
in repository ascension.

The following commit(s) were added to refs/heads/master by this push:
     new 340037e  added rrsetcount as a metric
340037e is described below

commit 340037e022ee1b76be1fdb02d7ed728bc57c049c
Author: rexxnor <address@hidden>
AuthorDate: Sun Jun 2 22:36:15 2019 +0200

    added rrsetcount as a metric
---
 ascension/ascension.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ascension/ascension.py b/ascension/ascension.py
index da54ca4..9d74caa 100644
--- a/ascension/ascension.py
+++ b/ascension/ascension.py
@@ -102,6 +102,7 @@ class Ascender():
         self.flags = flags
         self.minimum = int(minimum)
         self.subzonedict = dict()
+        self.rrsetcount = 0
 
     def bootstrap_zone(self) -> None:
         """
@@ -273,6 +274,7 @@ class Ascender():
 
                 # add recordline to gns and filter out empty lines
                 if len(recordline) > 1:
+                    self.rrsetcount += 1
                     self.add_recordline_to_gns(recordline,
                                                domain,
                                                label)
@@ -779,6 +781,7 @@ def main():
             continue
 
         ascender.add_records_to_gns()
+        logging.info("Added %d RRSets", ascender.rrsetcount)
         logging.info("Finished migration of the zone %s", ascender.domain)
 
 if __name__ == '__main__':

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]