Skip to content

Kernel API createDocWithMd supports concurrent calls #9644

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

Closed
3 tasks done
mdzz2048 opened this issue Nov 13, 2023 · 0 comments
Closed
3 tasks done

Kernel API createDocWithMd supports concurrent calls #9644

mdzz2048 opened this issue Nov 13, 2023 · 0 comments
Assignees
Milestone

Comments

@mdzz2048
Copy link
Contributor

mdzz2048 commented Nov 13, 2023

循环调用 /api/filetree/createDocWithMd 文档路径不符合预期

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

我希望按 hapth 批量生成文档,在循环调用 /api/filetree/createDocWithMd 这个 API 的时候发现会生成重复的父文档。

目前是通过设置等待时间避免这个问题的,等待时间在 1500ms 以下还是会生成不符合预期路径的文档

看了之前的 issues,最近和这个 API 相关的是 #9322。是不是这里提到的问题没有完全解决?

hpath 大概这样:

/2023/2023-11、/2023/2023-10、/2023/2023-09、/2023/2023-08、/2023/2023-07、/2023/2023-06

image

Expected result

希望可以根据 hpath 稳定生成文档,或提供批量生成文档的 API

Screenshot or screen recording presentation

No response

Version environment

- Version: v2.10.14
- Operating System: Windows 11
- Browser (if used):

Log file

无需日志文件

More information

No response

@mdzz2048 mdzz2048 changed the title 循环调用 /api/filetree/createDocWithMd 会出现重复父文档 循环调用 /api/filetree/createDocWithMd 文档路径不符合预期 Nov 13, 2023
@88250 88250 self-assigned this Nov 14, 2023
@88250 88250 changed the title 循环调用 /api/filetree/createDocWithMd 文档路径不符合预期 Kernel API createDocWithMd supports concurrent calls Nov 14, 2023
@88250 88250 added this to the 2.10.15 milestone Nov 14, 2023
88250 added a commit that referenced this issue Nov 14, 2023

Verified

This commit was signed with the committer’s verified signature.
@88250 88250 closed this as completed Nov 14, 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