Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Initialize database backends for async events
diff --git a/modules/event_route/event_route.c b/modules/event_route/event_route.c
index be147b9..f042cfd 100644
--- a/modules/event_route/event_route.c
+++ b/modules/event_route/event_route.c
@@ -64,7 +64,7 @@ static inline int get_script_event_route_ID_by_name(char* name, struct script_ev
* * module process
* */
static proc_export_t procs[] = {
- {"event-route handler", 0, 0, event_route_handler, 1, 0},
+ {"event-route handler", 0, 0, event_route_handler, 1, PROC_FLAG_INITCHILD},
{0,0,0,0,0,0}
};
/**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.