* added another sink to server
authorMichal Voců <michal@ruk.cuni.cz>
Thu, 22 Jun 2006 12:48:58 +0000 (12:48 +0000)
committerMichal Voců <michal@ruk.cuni.cz>
Thu, 22 Jun 2006 12:48:58 +0000 (12:48 +0000)
org.glite.lb.server/src/db_store.c

index 6c5bbc6..2a085f8 100644 (file)
@@ -127,7 +127,13 @@ db_store(edg_wll_Context ctx,char *ucs, char *event)
                break;
        default: break;
        }
-  } else {
+  } else 
+#ifdef LB_PERF
+       if( sink_mode == GLITE_LB_SINK_SEND ) {
+               glite_wll_perftest_consumeEvent(ev);
+       } else 
+#endif
+  {
        if ( newstat.state ) {
                edg_wll_NotifMatch(ctx, &newstat);
                edg_wll_FreeStatus(&newstat);