Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supports configuring data sync index time-consuming prompts #9698

Closed
UltramarineSky opened this issue Nov 20, 2023 · 6 comments
Closed

Supports configuring data sync index time-consuming prompts #9698

UltramarineSky opened this issue Nov 20, 2023 · 6 comments
Assignees
Milestone

Comments

@UltramarineSky
Copy link

UltramarineSky commented Nov 20, 2023

允许关闭启动时的清理数据仓库提示

In what scenarios do you need this feature?

之前已经在设置-关于那里清理过数据仓库了,可能是因为数据量比较大或者电脑性能原因,每次启动还是会弹窗提示清理数据仓库,去按提示清理也就几kb,希望可以设置关闭清理数据仓库提示,或者允许自定义超时时间

Describe the optimal solution

希望可以设置关闭清理数据仓库提示,或者允许自定义超时时间

Describe the candidate solution

No response

Other information

No response

@88250
Copy link
Member

88250 commented Nov 20, 2023

移动端上正常吗?

@88250
Copy link
Member

88250 commented Nov 20, 2023

另外,麻烦上传一下日志。

@88250
Copy link
Member

88250 commented Nov 20, 2023

关联 #9613

@88250 88250 self-assigned this Nov 20, 2023
@88250 88250 added this to the 2.10.16 milestone Nov 20, 2023
@88250 88250 changed the title 允许关闭启动时的清理数据仓库提示 Supports configuring data sync index time-consuming prompts Nov 20, 2023
@88250
Copy link
Member

88250 commented Nov 20, 2023

下个版本可通过如下两种方式配置:

  • 环境变量 SIYUAN_SYNC_INDEX_TIMING,例如 SIYUAN_SYNC_INDEX_TIMING=30000,单位是毫秒
  • 直接修改 conf.json repo.syncIndexTiming

最小值只能配置为 12000(12 秒),最大值不限制;启动时会优先读取环境变量覆盖 conf。

@UltramarineSky
Copy link
Author

另外,麻烦上传一下日志。

system-log.zip
抱歉,才看到

@88250
Copy link
Member

88250 commented Nov 20, 2023

没事,稍后看,多谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants