diff --git a/crmd/notify.h b/crmd/notify.h index a16a9aeb34..141b4803e6 100644 --- a/crmd/notify.h +++ b/crmd/notify.h @@ -1,38 +1,38 @@ /* * Copyright (C) 2015 Andrew Beekhof * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This software is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef CRMD_NOTIFY__H # define CRMD_NOTIFY__H # include # include # include /* Default-Timeout to use before killing a notification script (in milliseconds) */ -# define CRMD_NOTIFY_DEFAULT_TIMEOUT_MS (300000) +# define CRMD_NOTIFY_DEFAULT_TIMEOUT_MS (30000) /* Default-Format-String used to pass timestamps to the notification scripts */ # define CRMD_NOTIFY_DEFAULT_TSTAMP_FORMAT "%H:%M:%S.%06N" void crmd_enable_notifications(const char *script, const char *target); void crmd_notify_node_event(crm_node_t *node); void crmd_notify_fencing_op(stonith_event_t *e); void crmd_notify_resource_op(const char *node, lrmd_event_data_t *op); void crmd_drain_alerts(GMainContext *ctx); void parse_notifications(xmlNode *notifications); #endif