allow to specify how many times we can try to connect to the database at startup
add config options: db_startup_connection_max_attempts - default 0 (infinite) db_startup_connection_attempt_delay - delay in seconds between attempts (default 5) BREAKING CHANGE: WINIX_PLUGIN_INIT plugin message requires to set result status, you have to set the result status to true (env.res) if your plugin was initialized correctly, otherwise winix will not start
This commit is contained in:
1 parent
c6c50a5d23
commit
da2dec447b
18 files changed
+154
-41
No files matched your search
@@ -144,6 +144,8 @@ namespace Winix
|
||||
// winix is initialized,
|
||||
// now you can initialize your plugin
|
||||
// session pointer is null
|
||||
// you have to set the result status to true (env.res) if your
|
||||
// plugin was initialized correctly, otherwise winix will not start
|
||||
#define WINIX_PLUGIN_INIT 30080
|
||||
|
||||
// winix is ready to remove a plugin
|
||||
|
||||
Reference in new issue
Block a user