# 镜像大仓库问题十分钟左右项目目录不存在了

**URL:** https://forum.gitea.com/t/topic/2201
**Category:** 中文求助(Chinese Only)
**Created:** [June 1, 2020, 3:33am UTC](https://forum.gitea.com/t/topic/2201 "2020-06-01T03:33:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![together08](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@together08](https://forum.gitea.com/u/together08)
#### Post date: [June 1, 2020, 3:33am UTC](https://forum.gitea.com/t/topic/2201/1 "2020-06-01T03:33:56Z")

</div>

我使用gitea镜像一个3g左右的仓库，一直在迁移，十分钟左右项目目录不存在，系统提示：Migrate repository from [https://github.com/exthmui/android\_frameworks\_base.git](https://github.com/exthmui/android_frameworks_base.git) failed: Clone: context deadline exceeded

---

<div class="post-metadata">

### Author: ![lunny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/lunny/32/4701_2.png) [@lunny](https://forum.gitea.com/u/lunny)
#### Post date: [September 20, 2020, 12:04am UTC](https://forum.gitea.com/t/topic/2201/2 "2020-09-20T00:04:25Z")

</div>

对于比较大的项目，有可能会因为时间过长而迁移失败。

---

<div class="post-metadata">

### Author: ![kevinmeng0509](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/kevinmeng0509/32/3470_2.png) [@kevinmeng0509](https://forum.gitea.com/u/kevinmeng0509)
#### Post date: [February 22, 2023, 11:30pm UTC](https://forum.gitea.com/t/topic/2201/3 "2023-02-22T23:30:18Z")

</div>

修改一下gitea的配置，设置迁移的超时时间即可。你的项目太大了。

> **[Config Cheat Sheet - Docs](https://docs.gitea.io/en-us/config-cheat-sheet/#git---timeout-settings-gittimeout)**
