Increase plugin load timeout. Closes #3564

This commit is contained in:
kai
2023-06-12 17:22:56 +01:00
parent 24c32e36e3
commit fb19ee30ce
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ func Migrate(migrateable Migrateable, oldPath string) {
fileContent, err := os.ReadFile(oldPath)
if err != nil {
if os.IsNotExist(err) {
log.Println("[INFO]", "nothing to migrate in", oldPath)
log.Println("[TRACE]", "nothing to migrate in", oldPath)
return
}
log.Println("[WARN]", "could not read file for migration:", oldPath, err)

View File

@@ -760,7 +760,7 @@ func (m *PluginManager) startPlugin(connectionName string) (_ *plugin.Client, _
}
func (m *PluginManager) waitForPluginLoad(p *runningPlugin) error {
pluginStartTimeoutSecs := 5
pluginStartTimeoutSecs := 20
select {
case <-p.initialized: