Created
June 21, 2016 07:40
-
-
Save razvancrainea/9d239c82474bb0f1c403b6459dbdb647 to your computer and use it in GitHub Desktop.
Initialize database backends for async events
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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