aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/gnunet-namestore-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/gnunet-namestore-gtk.c')
-rw-r--r--src/namestore/gnunet-namestore-gtk.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/namestore/gnunet-namestore-gtk.c b/src/namestore/gnunet-namestore-gtk.c
index ab30f597..e2150c1c 100644
--- a/src/namestore/gnunet-namestore-gtk.c
+++ b/src/namestore/gnunet-namestore-gtk.c
@@ -66,6 +66,12 @@
66#define QRCODE_IMAGE_SIZE 64 66#define QRCODE_IMAGE_SIZE 64
67 67
68/** 68/**
69 * How many notifications do we allow the namestore to send us
70 * before we need to start to catch up?
71 */
72#define NAMESTORE_MONITOR_WINDOW_SIZE 50
73
74/**
69 * Columns in the gns model. 75 * Columns in the gns model.
70 */ 76 */
71enum GNSTreestoreColumn 77enum GNSTreestoreColumn
@@ -2402,6 +2408,8 @@ zone_iteration_proc (void *cls,
2402 GtkTreeIter sel_iter; 2408 GtkTreeIter sel_iter;
2403 GtkTreePath *sel_path; 2409 GtkTreePath *sel_path;
2404 2410
2411 GNUNET_NAMESTORE_zone_monitor_next (zmon,
2412 1);
2405 if ( (GNUNET_SYSERR == GNUNET_DNSPARSER_check_label (name)) && 2413 if ( (GNUNET_SYSERR == GNUNET_DNSPARSER_check_label (name)) &&
2406 (0 != strcmp (name, GNUNET_GNS_EMPTY_LABEL_AT)) ) 2414 (0 != strcmp (name, GNUNET_GNS_EMPTY_LABEL_AT)) )
2407 { 2415 {
@@ -2641,6 +2649,8 @@ load_zone (const char *name,
2641 NULL, 2649 NULL,
2642 &zone_sync_proc, 2650 &zone_sync_proc,
2643 NULL); 2651 NULL);
2652 GNUNET_NAMESTORE_zone_monitor_next (zmon,
2653 NAMESTORE_MONITOR_WINDOW_SIZE - 1);
2644} 2654}
2645 2655
2646 2656