Skip to content

Commit

Permalink
Refresh elog.cache.json
Browse files Browse the repository at this point in the history
  • Loading branch information
LetTTGACO committed Nov 4, 2023
1 parent f8be219 commit a54c6d9
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 85 deletions.
10 changes: 6 additions & 4 deletions docs/notion/config-catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
status: 已发布
sort: 90
urlname: config-catalog
上次编辑时间: "2023-10-13T15:59:00.000Z"
上次编辑时间: "2023-11-04T16:23:00.000Z"
catalog: 配置详情
tags: Elog-Docs
title: 目录结构
date: "2023-10-13 13:12:00"
updated: "2023-10-13 23:59:00"
date: "2023-10-13 05:12:00"
updated: "2023-11-04 16:23:00"
---

# 目录结构
Expand Down Expand Up @@ -49,12 +49,14 @@ module.exports = {
"yuque-pwd": {
username: process.env.YUQUE_USERNAME,
password: process.env.YUQUE_PWD,
baseUrl: "",
host: "",
login: process.env.YUQUE_LOGIN,
repo: process.env.YUQUE_REPO,
linebreak: true,
},
feishu: {
type: "space",
wikiId: process.env.FEISHU_WIKI_ID,
folderToken: process.env.FEISHU_FOLDER_TOKEN,
appId: process.env.FEISHU_APP_ID,
appSecret: process.env.FEISHU_APP_SECRET,
Expand Down
6 changes: 3 additions & 3 deletions docs/notion/qa.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
status: 已发布
sort: 50
urlname: qa
上次编辑时间: "2023-11-03T16:36:00.000Z"
上次编辑时间: "2023-11-03T16:59:00.000Z"
catalog: 关于Elog
tags: Elog-Docs
title: 常见问题
date: "2023-07-22 19:37:00"
updated: "2023-11-03 16:36:00"
updated: "2023-11-03 16:59:00"
---

# 常见问题
Expand Down Expand Up @@ -94,7 +94,7 @@ npx @elog/cli clean

### 解决办法

在全量同步时,因为语雀/FlowUs 为国内平台,有时会在 Github 等国外环境运行时由于网络问卡住。此时可以在本地先手动运行一遍,提交缓存文件到 Github,后续的增量同步会快很多。相反用 Notion 在本地进行同步时,也有同样的问题,放在 Github 同步就会快很多。
在全量同步时,因为语雀/FlowUs 为国内平台,有时会在 Github 等国外环境运行时由于网络问题卡住。此时可以在本地先手动运行一遍,提交缓存文件到 Github,后续的增量同步会快很多。相反用 Notion 在本地进行同步时,也有同样的问题,放在 Github 同步就会快很多。

还有一种可能是由于需要同步的文档中的新图片数量太多,所以每次都是新增上传图片到 CDN,会导致整体的流程变慢甚至失败。因为 Elog 会检测图片在 CDN 是否已经上传过,可以多试几次。

Expand Down
Loading

0 comments on commit a54c6d9

Please sign in to comment.