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

Flarum is unable to Load if there are large number of tags #1264

Closed
sanjibnarzary opened this issue Oct 23, 2017 · 6 comments
Closed

Flarum is unable to Load if there are large number of tags #1264

sanjibnarzary opened this issue Oct 23, 2017 · 6 comments
Labels

Comments

@sanjibnarzary
Copy link

Issues on Github are meant for bug reporting. Please post feature requests on the discussion forum.


Try to complete the below form as far as you are able and are willing to share. Add a screenshot of the issue if you can.

Explanation

I have inserted 50000 tags which I have imported from stackexchange data dump in to the flarum tags table by using a script. My flarum site was working fine with 1000 number of tags but when I increase the number of tags it fail to load. When I remove the imported tags it again works as normal.

Technical details

  • Version of Flarum: 7.beta
  • Website URL where the bug is visible: http://localhost
  • The webserver you are running: apache
  • PHP version: 7.0
  • Hosted environment: local machine

Flarum info

Output of "php flarum info", run this in terminal in your Flarum directory.

Log files

Put any relevant logs here.
@franzliedke
Copy link
Contributor

Is that a legitimate use-case? What exactly do you want to achieve with such a large number of tags?

@tobyzerner
Copy link
Contributor

I think we should support this use-case (eg. an extension which allows users to specify their own tags) but it's low priority.

I assume the bottleneck currently is that we load/display all tags at once by default.

@sanjibnarzary
Copy link
Author

@franzliedke What if I wanted to create a website similar to stackexchange with flarum.
@tobscure Where do I change the code for displaying only a few tags?

@franzliedke
Copy link
Contributor

Well, with such an extension, you probably wouldn't want to display all tags like we do (by default). I am just saying that this kind of use-case might fall outside of our tags extension's scope.

@tobyzerner
Copy link
Contributor

Relevant discussion in https://github.com/flarum/core/issues/395

@tobyzerner
Copy link
Contributor

Closing this to be addressed as part of flarum/issue-archive#393.

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

No branches or pull requests

3 participants