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

在列出含有大量项目的目录时频繁超时 #497

Closed
SheepChef opened this issue Oct 17, 2022 · 2 comments
Closed

在列出含有大量项目的目录时频繁超时 #497

SheepChef opened this issue Oct 17, 2022 · 2 comments
Assignees
Labels
bug Something isn't working marked

Comments

@SheepChef
Copy link

SheepChef commented Oct 17, 2022

1. 该问题的重现步骤是什么?

建立一个Onedrive目录,向其中存入>300个文件
将Onedrive绑定到OlaIndex上,从网页端尝试访问该目录。
等待一段时间后,网页显示“Ops!暂无资源”。

2. 你期待的结果是什么?实际看到的又是什么?

期待的结果:正常列出网盘目录的文件
实际看到的:Ops!暂无资源。

Screenshot_20221017-181617-01.jpeg

PS: 曾尝试人为在PHP代码中调高请求等待时间和重试次数,但调高后会导致 Nginx 网关超时。建议使用Ajax动态加载来避免这种情况。

3. 问题出现的环境

  • 操作系统版本:Ubuntu 20.04 LTS
  • Apache/NGINX 版本:1.20.2
  • PHP 版本:7.4
  • OLAINDEX 版本:6.0
  • 浏览器版本:Chrome 106
@SheepChef SheepChef added the bug Something isn't working label Oct 17, 2022
@SheepChef
Copy link
Author

SheepChef commented Oct 17, 2022

关于修改超时时间的方式,参照

#404 (comment)

在此基础上进一步调高了重试次数和等待时间。

@stale
Copy link

stale bot commented Dec 21, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the marked label Dec 21, 2022
@stale stale bot closed this as completed Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working marked
Projects
None yet
Development

No branches or pull requests

2 participants