Make sure dropped notifications are "expired" from IL queues
authorAleš Křenek <ljocha@ics.muni.cz>
Tue, 14 Apr 2009 11:29:33 +0000 (11:29 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Tue, 14 Apr 2009 11:29:33 +0000 (11:29 +0000)
org.glite.lb.server/src/il_notification.c

index 3a20e7f..2fb2667 100644 (file)
@@ -201,6 +201,7 @@ int
 edg_wll_NotifCancelRegId(edg_wll_Context context,
                         edg_wll_NotifId reg_id)
 {
-       return(edg_wll_NotifSend(context, reg_id, NULL, 0, "", 0, ""));
+/* XXX: Jan 1 1970 00:00:01 -- quite sure to make it expire immediately */
+       return(edg_wll_NotifSend(context, reg_id, NULL, 0, "", 1, ""));
 }