@hnimminh diff for you to try
diff --git a/src/modules/app_python3/app_python3_mod.c b/src/modules/app_python3/app_python3_mod.c
index 0ce93b71cd..168e1a0f0a 100644
--- a/src/modules/app_python3/app_python3_mod.c
+++ b/src/modules/app_python3/app_python3_mod.c
@@ -163,6 +163,9 @@ static int mod_init(void)
LM_ERR("failed to load python script\n");
return -1;
}
+#if PY_VERSION_HEX >= 0x03070000
+ PyOS_BeforeFork();
+#endif
pkg_free(dname_src);
pkg_free(bname_src);
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.