mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 11:47:36 +08:00
[FIX] reduce the retry count
This commit is contained in:
parent
528057e1fe
commit
e9cea0f8c5
@ -74,7 +74,7 @@ func (e *exectorManager) pluginDockerfileBuild(in []byte) {
|
||||
go func() {
|
||||
logrus.Info("start exec build plugin from image worker")
|
||||
defer event.GetManager().ReleaseLogger(logger)
|
||||
for retry := 0; retry < 3; retry++ {
|
||||
for retry := 0; retry < 2; retry++ {
|
||||
err := e.runD(&tb, config, logger)
|
||||
if err != nil {
|
||||
logrus.Errorf("exec plugin build from dockerfile error:%s", err.Error())
|
||||
|
Loading…
Reference in New Issue
Block a user