Skip to content
Snippets Groups Projects

Updates for 2024.11

Merged dakkar requested to merge updates-for-2024.11 into main
Files
5
+ 28
0
---
title: "Useful roles"
weight: 3050
toc: true
---
## Relax request rate limits for logged-in users
Sharkey limits how often each API endpoint can be used by each user,
to prevent denial-of-service attacks and excessive load on the server.
Some users, especially if they use the deck UI with many lists /
antennas / people they follow, may hit those limits during their
normal use of Sharkey.
You can relax the limits for these users, or for all your local users,
by creating a role with a "rate limit" value *smaller* than 100%. For
example, 50% will let the users who get that role call the API twice
as often (yes, it feels backwards, sorry).
## Reduce the space used by caching remote files
If you are caching remote files, you may have noticed that they take a
lot of space which always grows (until you manually purge the cache).
A simple way to limit that growth is to create a role, applied to all
remote users, with a smaller "drive capacity". 10MB or 20MB seems to
work fine.
Loading