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

Licenses: Are seats soft deleted, hard deleted, or not deleted at all by editing down the maximum number? #15985

Open
gito-588 opened this issue Dec 18, 2024 · 2 comments

Comments

@gito-588
Copy link

Context:
We have some software where we wanted to put in 0 seats, which is not possible. We wanted to do that as a placeholder, create a bunch of licenses now, so we don't have to create them by hand when they become relevant.
Having licenses with only one seat skews the dashboard statistic. Our solution for placeholders was to put down 10000 for licenses for which we do not know the number of seats, yet. For dashboard purposes, that worked. We could just ignore the number before the two zeroes in the middle and know the exact number of licenses used in our company.
We soon discovered that having this many licenses slows the dashboard and license screens to a crawl. So we changed the placeholder to something else, reducing the seats for those licenses to below 10. The performance of the license and dashboard screens did not recover.
We thought maybe those seats were soft deleted and did a total purge. Nothing changed. We are now below 1000 total licenses on the dashboard, and loading the license list takes over 5 seconds, sometimes more than 10.

Now to my question/issue:
Why are the screens so slow? Does reducing the maximum number of seats not delete those seats? Are they still stored somewhere? Is there a way to permanently remove them?
I am afraid we might have to delete the whole license and create a new one and check out all licenses again already checked out before. I am not sure if cloning the license to save some work would also clone the deadweight licenses.

Info:
Version v7.0.11 - build 15044 (master) using nginx on Debian 12, installed manually.

Copy link

welcome bot commented Dec 18, 2024

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@janakakelum
Copy link

Hi,

The Software Licenses page in Snipe-IT is not functioning properly. The following issues have been observed:

Unable to Add, Edit, or Delete licenses
Unable to add seats

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

No branches or pull requests

2 participants