mirror of
https://github.com/pelican-dev/panel.git
synced 2026-03-01 11:21:31 +03:00
Wrong allocation limit #216
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Leon-JavaScript on GitHub (Dec 8, 2024).
Current Behavior
In the server settings tab in the client area, the


Allocation Limitalways shows 1 more than the actual limit.Expected Behavior
It should show the correct allocation limit.
Steps to Reproduce
It says you can create 1 more allocation than the limit.
Panel Version
Tested on 1.0.0-beta14 and canary (
157fa45)Wings Version
1.0.0-beta8
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
No response
Is there an existing issue for this?
@Boy132 commented on GitHub (Dec 8, 2024):
That's intentional. The allocation limit is for additional allocations. And every server has at least 1 allocation.WrongSo if you set the allocation limit to 3 you can actually have up to 4 allocations. (the default one + 3 additional)
@Leon-JavaScript commented on GitHub (Dec 8, 2024):
But in both client areas, it doesn't allow you to create the 1 allocation over the set amount in the settings.
@rmartinoscar commented on GitHub (Dec 8, 2024):
8cc91b0747/config/panel.php (L92-L94)Clients aren't allowed to create allocations by default you need to enable Automatic Allocation Creation

@Leon-JavaScript commented on GitHub (Dec 8, 2024):
Even if you have the client allocation creation enabled, it doesn't allow you to set 3 allocations if you have set 2 in the settings of the server. I just tested it in the demo panel.
In the server settings (admin) I set the allocations to 2, in the settings information it shows 3.
In the network tab, it shows that the server reached the maximum allocations with 2 allocations.
So something must be wrong if I'm not completely mistaken. It must be one of these: