mirror of
https://github.com/turbot/steampipe.git
synced 2025-12-25 03:00:48 -05:00
Increase plugin load timeout. Closes #3564
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user