* added sink-mode SINK_SEND
authorMichal Voců <michal@ruk.cuni.cz>
Fri, 9 Jun 2006 12:33:48 +0000 (12:33 +0000)
committerMichal Voců <michal@ruk.cuni.cz>
Fri, 9 Jun 2006 12:33:48 +0000 (12:33 +0000)
org.glite.lb.server/src/db_store.c

index edf0b2f..6c5bbc6 100644 (file)
@@ -102,6 +102,11 @@ db_store(edg_wll_Context ctx,char *ucs, char *event)
        /* XXX: RegJob events, which were logged also directly, are duplicated at server,
                but it should not harm */
 
+#ifdef LB_PERF
+       if( sink_mode == GLITE_LB_SINK_SEND ) {
+               glite_wll_perftest_consumeEvent(ev);
+       } else
+#endif
        if (edg_wll_EventSendProxy(ctx, ev->any.jobId, event) )  {
                edg_wll_SetError(ctx, EDG_WLL_IL_PROTO, "edg_wll_EventSendProxy() error.");
                goto err;