mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-13 09:10:14 +00:00
fix: disable twilight ratelimiter when using proxy
This commit is contained in:
parent
b77390c0cd
commit
2be3fe6a00
2 changed files with 2 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ pub fn new() -> DiscordCache {
|
||||||
.api_base_url
|
.api_base_url
|
||||||
.clone()
|
.clone()
|
||||||
{
|
{
|
||||||
client_builder = client_builder.proxy(base_url, true);
|
client_builder = client_builder.proxy(base_url, true).ratelimiter(None);
|
||||||
}
|
}
|
||||||
|
|
||||||
let client = Arc::new(client_builder.build());
|
let client = Arc::new(client_builder.build());
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ async fn real_main() -> anyhow::Result<()> {
|
||||||
.api_base_url
|
.api_base_url
|
||||||
.clone()
|
.clone()
|
||||||
{
|
{
|
||||||
client_builder = client_builder.proxy(base_url, true);
|
client_builder = client_builder.proxy(base_url, true).ratelimiter(None);
|
||||||
}
|
}
|
||||||
|
|
||||||
let ctx = AppCtx {
|
let ctx = AppCtx {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue