mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
fix(admin): save premium limits and model changes (#3386)
This commit is contained in:
1 parent
7d2c51a57f
commit
6acd7f3d22
18 files changed
+1035
-59
No files matched your search
@@ -360,7 +360,7 @@ Each key names one limit. A key whose name begins with `feature_` is a feature g
|
||||
| feature_voice_entrance_sounds | Play a sound when joining voice, in user scope |
|
||||
| max_attachment_file_size | Maximum size of each attachment file in bytes, in user and guild scope |
|
||||
| max_attachments_per_message | Maximum number of file attachments per message, in user and guild scope |
|
||||
| max_bio_length | Maximum characters in a user biography, in user scope |
|
||||
| max_bio_length | Maximum characters in a user biography, in user scope. At most 320 |
|
||||
| max_bookmarks | Maximum bookmarked messages, in user scope |
|
||||
| max_channels_per_category | Maximum channels per category, in guild scope |
|
||||
| max_custom_backgrounds | Maximum custom profile backgrounds, in user scope |
|
||||
|
||||
@@ -1069,7 +1069,7 @@ Explicit `false` values and supported null clears remain valid. Branding and int
|
||||
|
||||
## Limits
|
||||
|
||||
No environment variable changes an instance limit. Use the admin dashboard's Limit Config page or the [Admin API](/admin-api/). The thread and forum limits are fixed and have no limit key. [Thread lifecycle](/http-api/threads/#thread-lifecycle), [Thread members](/http-api/thread-members/) and [Forum channel fields](/http-api/forums/#forum-channel-fields) state them. Effective limits combine saved settings, deployment defaults and premium policy. After a change is saved, every running `api` and `worker` process reloads the limits with no restart. Clients receive the [limit configuration object](/http-api/instance/#limit-configuration-object).
|
||||
No environment variable changes an instance limit. Use the admin dashboard's Limit Config page or the [Admin API](/admin-api/). The thread and forum limits are fixed and have no limit key. [Thread lifecycle](/http-api/threads/#thread-lifecycle), [Thread members](/http-api/thread-members/) and [Forum channel fields](/http-api/forums/#forum-channel-fields) state them. Effective limits combine saved settings, deployment defaults and premium policy. Only the values you change are saved. Every other limit follows the deployment defaults and the premium model, so switching the model moves the untouched limits and keeps your edits. Reset to Defaults on a rule in the dashboard drops the edits saved for that rule. After a change is saved, every running `api` and `worker` process reloads the limits with no restart. Clients receive the [limit configuration object](/http-api/instance/#limit-configuration-object).
|
||||
|
||||
Request concurrency is separate from instance limits, and each process sets its own. All are optional.
|
||||
|
||||
|
||||
Reference in new issue
Block a user