Islam Kh Salem
Islam Kh Salem

Reputation: 1

during pull changes from remote repo into live server the software become broken

During pull changes from remote repo into live server using (git pull origin master) command the software become broken, for some seconds max one or two minutes, but the users sometimes catch this interval and complaint, any suggestion?

Upvotes: 0

Views: 31

Answers (1)

Ofer Skulsky
Ofer Skulsky

Reputation: 743

Since pull is a long operation

for some seconds max one or two minutes

you shouldn't do it on a live server.
you can use several ways of HA (high availability.

here is one simple option: you can have another copy to which you pull, and serve it instead while you update (pull for your live server), and then switch back.

Upvotes: 1

Related Questions