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

custom licenses not showing up in the dropdown #86

Open
2 tasks
LesterLyu opened this issue Jul 9, 2024 · 0 comments
Open
2 tasks

custom licenses not showing up in the dropdown #86

LesterLyu opened this issue Jul 9, 2024 · 0 comments
Assignees
Labels
bug:mid investigate gather information

Comments

@LesterLyu
Copy link
Member

LesterLyu commented Jul 9, 2024

Custom licenses do not all show up in the dropdown. Reboot fixed it.
Adding new custom license with the existing ID (not showing up in the dropdown) tells "id existed".
The creation of new licenses works but never shows up in the licenses dropdown. After a server reboot is shows up all the licenses but many of them have a duplicated name/url.

Could be

  • multithreaded issue in the production site with uwsgi
    • states of each thread/process are not synced.
    • process forked before adding new custom license and the forked process is destroyed.
  • Bugged because of server slowness

TODOs:

  • Refactor the code and make the APIs stateless, do not store states in the memory.
  • Add Licences Management in the admin dashboard, and make deletion of duplicated licenses possible.
@LesterLyu LesterLyu added the investigate gather information label Jul 9, 2024
@LesterLyu LesterLyu self-assigned this Jul 9, 2024
@LesterLyu LesterLyu reopened this Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:mid investigate gather information
Projects
None yet
Development

No branches or pull requests

2 participants