isomerpages / isomercms-backend

A static website builder and host for the Singapore Government
5 stars 1 forks source link

chore: revert to copy instead of clone #1182

Closed alexanderleegs closed 7 months ago

alexanderleegs commented 7 months ago

This reverts commit d25129cd41e0b19a1b5e6a34ffeb9802ca565f11. We were facing issues when repairing large repos, possibly due to memory issues - this PR reverts to git clone for slightly slower operations but allowing it to work for large repos again.

Note that we should also monitor CPU utilisation when running the site repair form for large sites - we were previously facing issues on this when using cp